Cancel My Lunch Order
cancel_my_lunch_orderCancel a finalized lunch order and get the charge refunded to your wallet when labels have not been sent. Requires confirmation before proceeding.
Instructions
Cancels a finalized order and refunds the charge to the wallet. Only works before order labels have been sent; after that the request is rejected and the order stands. DESTRUCTIVE - confirm with the user before cancelling.
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": {
"order_id": "<order_id>"
},
"name": "cancel_my_lunch_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ID of a finalized order - from list_my_lunch_orders; the order must still be finalized and not yet have labels sent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Order ID | |
| status | No | Order status (cancelled) | |
| refundCents | No | Amount refunded to the wallet, in cents | |
| balanceCents | No | Wallet balance after the refund, in cents |