prepare_order
Resolve a natural-language food order (one or more items) to concrete menu items and return a summary plus a confirmation token. Does NOT place the order. Call place_order with the returned token to actually place it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Delivery date-time as an ISO-8601 UTC instant, e.g. '2026-07-25T12:00:00Z'. Must be in the future. Defaults to 5 minutes from now (as soon as possible) — only pass this when the user asks for a specific time. | |
| items | Yes | The item(s) to order — one or more lines, each with an item name, an optional quantity (default 1), an optional size, and optional extra ingredients by name. | |
| notes | No | Optional notes for the vendor. | |
| cutlery | No | Whether to ask the restaurant to include disposable cutlery. Only pass this when the user says either way; omit to leave it to the restaurant's default. Ignored (with a note) by vendors that do not offer it. | |
| clientId | No | clientId of the restaurant, from a list_vendors result. Omit only when the server is configured for a single restaurant. | |
| vendorId | No | vendorId of the restaurant, from a list_vendors result. Omit only when the server is configured for a single restaurant. | |
| bringTerminal | No | Whether the courier should bring a card terminal so the order can be paid by card on delivery. Pass true when the user wants to pay by card, false for cash; omit when they do not say. Ignored (with a note) by vendors that cannot take card on delivery. | |
| deliveryAddress | Yes | Delivery address text, e.g. 'Orlovica Pavla 26'. |