Remove from Cart
remove_from_cartRemoves an item from a foodpanda cart using its cart item ID and recalculates order totals based on 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) |