cart_update_item
Update the quantity of an item in a shopping cart, including setting it to 0 to remove the item.
Instructions
Update the quantity of an item in the shopping cart (0 to remove)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>",
"quantity": "<quantity>"
},
"name": "cart_update_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Component slug ('shopId:itemId') | |
| quantity | Yes | New quantity (0 to remove item) |