remove_from_cart
Remove a specific line item from a Grubhub cart using the cart ID and line item ID to update an order before checkout.
Instructions
Remove an item from the cart.
Args: cart_id: The cart ID line_item_id: The line item ID to remove
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_id": "<cart_id>",
"line_item_id": "<line_item_id>"
},
"name": "remove_from_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | ||
| line_item_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |