pay_order
Process payment for an open restaurant order and close it to free the table, with required approval.
Instructions
Take payment for an open order and close it (frees the table). 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>",
"method": "<method>"
},
"name": "pay_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| order_id | Yes | ||
| discount_reason | No | Required with a discount. | |
| discount_percent | No | ||
| confirmation_token | No | Token from a previous 'confirmation_required' answer. Omit on first call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||