{
    "schema_version": "v1.1",
    "skill_id": "update_cart_item",
    "version": "v1",
    "entrypoint": "skills/update_cart_item_v1.py",
    "inputs": "- `product_id`: The unique identifier (product code) of the item whose quantity needs to be updated in the cart. (required)\n- `new_quantity`: The desired new quantity for the specified product in the cart. Must be a positive integer. (required)",
    "outputs": "- `message`: A string indicating whether the quantity update was successful or if it failed, including an error message if applicable.",
    "side_effects": "- Modifies the user's shopping cart state in the Century e-member system by updating the quantity of a specified product.\n- Calls the external `update_cart` API.",
    "risk_level": "UNSPECIFIED",
    "contract": {
        "path": "skills/update_cart_item_v1.skill.md",
        "hash": "3faf011b8dd2445d22ee9ce02ab86eedd1c13f09fb239e7aacfba342593675b5",
        "hash_algo": "sha256",
        "approved": true
    },
    "input_mode": "chat"
}