confirm_order
Accept a placed iFood merchant order to prevent automatic cancellation when confirmation is required. Use the order ID to transition the order from PLACED to confirmed.
Instructions
Confirm/accept an order (first transition after PLACED; orders auto-cancel if not confirmed in time).
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": "confirm_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID |