Remove from cart
suppco_remove_from_cartRemove a product from the signed-in user's cart, or set remove_unavailable to true to clear items that are no longer available. Removing a product removes every cart line for it, one-time and subscription. Returns the updated cart.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "suppco_remove_from_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id_or_slug | No | SuppCo product ID (UUID) or slug of the product to remove, as shown by suppco_get_my_cart. | |
| remove_unavailable | No | true to remove every item that is no longer available (the stale items suppco_get_my_cart lists). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | Yes |