void_order_item
Cancel a single line item on an open restaurant order, requiring a reason and user approval before completion.
Instructions
Void (cancel) one line of an open order. Requires user approval.
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>",
"order_item_id": "<order_item_id>",
"reason": "<reason>"
},
"name": "void_order_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why it is voided, e.g. 'Müşteri vazgeçti'. | |
| order_id | Yes | ||
| order_item_id | Yes | Line id from get_order (not menu id). | |
| confirmation_token | No | Token from a previous 'confirmation_required' answer. Omit on first call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||