update_cart_item
Adjust the quantity of a cart line using its row ID from the cart view; set quantity to 0 to remove the item.
Instructions
Change the quantity of a cart line (row_id from view_cart); 0 removes it.
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": {
"row_id": "<row_id>",
"quantity": "<quantity>"
},
"name": "update_cart_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_id | Yes | ||
| quantity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||