Remove a cart item
remove_cart_itemRemove a cart line by line_id (from view_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": {
"lineId": "<lineId>"
},
"name": "remove_cart_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lineId | Yes | line_id from view_cart. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Cart line items (line_id, product_id, name, quantity, prices, options). | |
| message | No | Present on an empty cart. | |
| currency | No | ||
| subtotal | No | ||
| item_count | No | ||
| merchant_id | No | ||
| merchant_city | No | ||
| merchant_name | No |