Start an order session
start_order_sessionOpen a 30-minute transactional window for an AI agent against a specific restaurant. Returns an agent_session_id you MUST pass to every downstream order tool (place_order, cancel_order, request_bill, waiter_call, apply_promo). Also returns the customer-facing confirmation URL — share it with the human so they can review the cart before checkout.
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": {
"restaurant_id": "<restaurant_id>"
},
"name": "start_order_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| restaurant_id | Yes | Canonical restaurant id from get_restaurant or search_products. |