cart_remove
Remove a product from the shopping cart by providing its product ID. Preview changes without confirmation, or confirm to execute the removal.
Instructions
Remove an item from the shopping cart.
Without confirm=true, returns a preview of the action. With confirm=true, executes the action.
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": {
"product_id": "<product_id>"
},
"name": "cart_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku_id | No | SKU ID if known (will be looked up from cart if not provided) | |
| confirm | No | Set to true to confirm the action | |
| product_id | Yes | Product SKU/ID to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||