Remove from cart
remove_from_cartRemoves a product from a store cart by product ID, then returns the updated cart so you can confirm it was removed.
Instructions
Removes a product from the cart entirely, then reads the cart back.
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>",
"store": "<store>"
},
"name": "remove_from_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | retailer (see list_stores) | |
| product_id | Yes | retailer product identifier (id field of search_products) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | ||
| store | Yes | ||
| confirmed | Yes | true if the cart read back holds the targeted quantity | |
| product_id | Yes | ||
| cart_total_eur | Yes | ||
| expected_quantity | Yes |