remove_cart_item
Remove a specific product from a shopping cart entirely. Provide the cart ID and product ID to delete the item line.
Instructions
Remove a product line from a cart entirely.
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>",
"product_id": "<product_id>"
},
"name": "remove_cart_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | Unique cart identifier. | |
| product_id | Yes | Numeric product identifier. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Line items currently in the cart. | |
| cart_id | Yes | Unique cart identifier. | |
| created_at | Yes | UTC timestamp of cart creation. | |
| updated_at | Yes | UTC timestamp of the last modification. |