Remove from Cart
remove_from_cartRemoves a specific item from the shopping cart using its cart item ID, then updates the order total with the remaining items.
Instructions
Remove an item from the cart by its cart item ID (e.g. 'cart-1'). Re-calculates totals with remaining items.
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_item_id": "<cart_item_id>"
},
"name": "remove_from_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_item_id | Yes | The cart item ID to remove (e.g. 'cart-1', from get_cart results) |