place_order
Place a food order. Records the order and relays it to the restaurant via their preferred channel (emails it when email is available), and returns ready-to-use contact actions (call, WhatsApp, email) so you can also reach them directly.
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": "<restaurant>",
"items": "<items>",
"customer_name": "<customer_name>",
"customer_contact": "<customer_contact>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Order-level note, e.g. desired pickup time | |
| items | Yes | The dishes to order | |
| channel | No | Preferred channel to relay the order; defaults to the restaurant's preference | |
| restaurant | Yes | The restaurant id (slug) from search_restaurants | |
| fulfillment | No | ||
| customer_name | Yes | Name of the person ordering | |
| customer_contact | Yes | A phone number or email the restaurant can use to confirm |