{"jsonrpc":"2.0","id":2,"result":{"tools":[{"name":"list_menu","title":"Show a menu","description":"Show the restaurant's menu to the user as a visual HTML document — a horizontally-scrollable category strip with item photos, names and prices. Present the returned HTML by opening it as an HTML artifact; do NOT paste the markup into the chat as text. (Ordering does not require this — prepare_order resolves item names on its own.)","inputSchema":{"type":"object","properties":{"clientId":{"type":"integer","description":"clientId of the restaurant, from a list_vendors result. Omit only when the server is configured for a single restaurant."},"vendorId":{"type":"integer","description":"vendorId of the restaurant, from a list_vendors result. Omit only when the server is configured for a single restaurant."}},"required":[],"additionalProperties":false},"annotations":{"title":"Show a menu","readOnlyHint":true,"openWorldHint":true}},{"name":"prepare_order","title":"Prepare an order","description":"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. Delivery is as soon as possible by default; pass 'date' to ask for a later time instead. Each call covers one delivery, so an order for more than one day means one call per day. The restaurant may still refuse a time it is not open for.","inputSchema":{"type":"object","properties":{"clientId":{"type":"integer","description":"clientId of the restaurant, from a list_vendors result. Omit only when the server is configured for a single restaurant."},"vendorId":{"type":"integer","description":"vendorId of the restaurant, from a list_vendors result. Omit only when the server is configured for a single restaurant."},"items":{"type":"array","items":{"type":"object","properties":{"extras":{"description":"Extra ingredients to add to this item, by name, e.g. ['Šunka']. Each must be one of the extras that item offers (its own composition ingredients are not addable); repeat a name to add it twice.","type":"array","items":{"type":"string"}},"item":{"type":"string","description":"Menu item name, e.g. 'Margherita'."},"quantity":{"type":"integer","format":"int32","description":"Quantity for this item, at least 1. Defaults to 1 if omitted."},"size":{"type":"string","description":"Requested size by name, e.g. '33cm' or 'Large'. Selects that size variant of the item; omit for the standard size. A size the item is not available in is rejected with the list of sizes it does offer."}},"required":["item"]},"description":"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."},"deliveryAddress":{"type":"string","description":"Delivery address text, e.g. 'Orlovica Pavla 26'."},"date":{"type":"string","description":"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."},"notes":{"type":"string","description":"Optional notes for the vendor."},"cutlery":{"type":"boolean","description":"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."},"bringTerminal":{"type":"boolean","description":"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."}},"required":["items","deliveryAddress"],"additionalProperties":false},"annotations":{"title":"Prepare an order","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"place_order","title":"Place the order","description":"Place an order previously staged by prepare_order. Requires the confirmationToken returned by prepare_order. This causes a real order to be sent to the vendor.","inputSchema":{"type":"object","properties":{"confirmationToken":{"type":"string","description":"The confirmationToken returned by prepare_order."}},"required":["confirmationToken"],"additionalProperties":false},"annotations":{"title":"Place the order","readOnlyHint":false,"destructiveHint":true,"idempotentHint":false,"openWorldHint":true}},{"name":"check_order","title":"Check an order","description":"Check the current status of an order the user has already placed, using the order number returned by place_order. Reports whether the restaurant has accepted it, whether it is on its way, and whether it has finished (delivered or declined). There is no background tracking and no notification: call this again when the user asks, and only until the order is reported as finished.","inputSchema":{"type":"object","properties":{"orderId":{"type":"integer","description":"The order number returned by place_order."},"clientId":{"type":"integer","description":"clientId of the restaurant the order was placed with, from the list_vendors result. Omit only when the server is configured for a single restaurant."}},"required":["orderId"],"additionalProperties":false},"annotations":{"title":"Check an order","readOnlyHint":true,"openWorldHint":true}},{"name":"list_vendors","title":"List restaurants","description":"Find restaurants (vendors) available for ordering. This is the discovery entry point: each card shows the clientId and vendorId that list_menu and prepare_order need. Call it with no arguments to list every restaurant — that is the normal case. Returns a complete, self-contained HTML document of vendor cards (logo, address, phone, delivery fee) — restaurants open today first in colour, those closed today greyed out at the bottom. Present the returned HTML to the user by opening it as an HTML artifact; do not paste the markup into the chat.","inputSchema":{"type":"object","properties":{"city":{"type":"string","description":"City to filter by. Pass this ONLY when the user named a city themselves; never guess one from context, because a filter that matches nothing hides restaurants the user could have ordered from."}},"required":[],"additionalProperties":false},"annotations":{"title":"List restaurants","readOnlyHint":true,"openWorldHint":true}},{"name":"login","title":"Start signing in","description":"Start signing the user in to a restaurant so they can place orders. Browsing the menu never needs this — only ordering and saving an address do. Returns a URL the user must open in a browser to sign in with Google or Apple; afterwards they copy the 'code' value from the address bar and you call submit_login_code. Each restaurant has its own login, so this must be done per restaurant.","inputSchema":{"type":"object","properties":{"clientId":{"type":"integer","description":"clientId of the restaurant to sign in to, from a list_vendors result. Omit only when the server is configured for a single restaurant."}},"required":[],"additionalProperties":false},"annotations":{"title":"Start signing in","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"logout","title":"Sign out","description":"Sign the user out. By default signs out of every restaurant; pass a clientId to sign out of one, and an account label to sign out just that account.","inputSchema":{"type":"object","properties":{"clientId":{"type":"integer","description":"clientId of the restaurant to sign out of. Omit to sign out everywhere."},"label":{"type":"string","description":"Account label to sign out, e.g. 'work'. Omit to sign out every account at that restaurant."}},"required":[],"additionalProperties":false},"annotations":{"title":"Sign out","readOnlyHint":false,"destructiveHint":true,"idempotentHint":true,"openWorldHint":false}},{"name":"submit_login_code","title":"Finish signing in","description":"Complete a sign-in started by login, using the 'code' value the user copied from the browser address bar. On success the user can place orders from that restaurant.","inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"The code value copied from the redirect URL after signing in."},"clientId":{"type":"integer","description":"clientId of the restaurant being signed in to. Omit if only one sign-in is in progress."},"label":{"type":"string","description":"Optional label for this account, e.g. 'work' or 'personal'. Defaults to the email address on the account."}},"required":["code"],"additionalProperties":false},"annotations":{"title":"Finish signing in","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true}},{"name":"list_accounts","title":"List signed-in accounts","description":"Show which accounts are signed in, per restaurant, and which one is active. Useful when the user keeps separate work and personal accounts.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"annotations":{"title":"List signed-in accounts","readOnlyHint":true,"openWorldHint":false}},{"name":"switch_account","title":"Switch account","description":"Choose which signed-in account to order with at a restaurant, e.g. to switch between work and personal. The account must already be signed in via login.","inputSchema":{"type":"object","properties":{"label":{"type":"string","description":"Account label to make active, e.g. 'work'."},"clientId":{"type":"integer","description":"clientId of the restaurant. Omit only when the server is configured for a single restaurant."}},"required":["label"],"additionalProperties":false},"annotations":{"title":"Switch account","readOnlyHint":false,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}}]}}