remove_from_cart
Remove a specified quantity of a product from your Picnic shopping cart using its product ID, and receive the updated cart contents.
Instructions
Remove count units of a product from the cart (product_id from get_cart/search_products).
Returns the updated cart, same shape as get_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 |