cart_update
Update the quantity of a grocery item in your shopping cart by providing its SKU and new quantity.
Instructions
Update the quantity of an item in the cart.
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": {
"sku": "<sku>",
"quantity": "<quantity>"
},
"name": "cart_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | Product SKU. | |
| unit | No | Pricing unit (default: Each). | |
| provider | No | Shopping provider id (default: "countdown"). | |
| quantity | Yes | New quantity (must be > 0; use cart_remove to remove). |