update_cart_item
Adjust quantity or add special instructions for a cart line using its cart-line ID, keeping its selected options. To change options, remove and re-add the item.
Instructions
Set quantity and optionally instructions for a cart-line ID (not menu-item ID). Keeps its selected options. To change options, remove and re-add.
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": {
"cart_id": "<cart_id>",
"cart_item_id": "<cart_item_id>",
"quantity": "<quantity>"
},
"name": "update_cart_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | ||
| quantity | Yes | ||
| cart_item_id | Yes | ||
| special_instructions | No |