Remove a product from the cart
remove_from_cartRemove a specified quantity of a product from the Picnic cart by product ID; set count to control how many items are removed.
Instructions
Remove a quantity of a product from the 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": {
"product_id": "<product_id>"
},
"name": "remove_from_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| product_id | Yes | Picnic product id from search_products |