UCP Checker

update_item_quantity

Change the quantity of a line item in a cart. Use quantity=0 to remove the item. Returns the updated cart state.

No store we check lists this tool.

Input schema

As a store we check lists it in tools/list. Not a tool the spec's MCP binding defines at release 2026-08-25.

inputSchema
{
    "type": "object",
    "required": [
        "cartId",
        "itemId",
        "quantity"
    ],
    "properties": {
        "cartId": {
            "type": "string",
            "description": "the base62 cart id"
        },
        "itemId": {
            "type": "integer",
            "description": "the line item id (numeric, e.g. 1, 2, 3)"
        },
        "quantity": {
            "type": "integer",
            "description": "the new quantity (0 removes the item)"
        }
    }
}

Explore protocol data