Server definition
- Hash
- sha256:e78668376cf542f285f84936083815017fe57ac3db699f3d39698ad692134dfb
- What it is
- What a remote MCP server returned when asked what it offers: 25 tools
The blob, as servednamed by its sha256
{
"instructions": "A failed tool call (isError) ends with a text block holding JSON {\"error\":{\"code\":\"…\",\"details\":{…}}}: decide on code and details (e.g. slot_full + nextSlotAt, ordering_paused + resumeAt, last_order_passed + nextOpenAt, plan_required + phone/whatsapp/email (send the person to the restaurant directly), scheduled_not_accepted + earliestAt/latestAt, rate_limited + retryAfterSeconds, otp_invalid = the emailed code is not right, otp_expired / otp_attempts_exhausted = that code can no longer be used: start the order, booking or sign-up again), not on the wording of the first block.",
"tools": [
{
"description": "Ask the restaurant one short question its menu and get_restaurant_info do not answer (e.g. \"Can the milanesa be baked instead of fried?\", \"Do you have a high chair?\"). Check get_restaurant_info.faq first. If the restaurant already answered the same question, the answer comes back right away (status answered). Otherwise, when get_restaurant_info.takes_questions is true, the question waits up to 24 h for the restaurant (status asked or already_asked); its answer is then published in get_restaurant_info.faq, get_menu and llms.txt for everyone, never sent back to a person, so ask again or read faq later. status not_taking = the restaurant does not take questions this way right now: give the diner contact (phone, WhatsApp or email). The question is published only in the restaurant's own words; never put names, emails, phone numbers or links in it (refused).",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"language": {
"description": "Language of the question (en | es | pt | fr …), optional",
"type": "string"
},
"question": {
"description": "One question, in the diner's words, without personal data or links",
"maxLength": 280,
"minLength": 8,
"type": "string"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"question"
],
"type": "object"
},
"name": "ask_restaurant",
"outputSchema": {
"properties": {
"answer": {
"description": "answered: the restaurant's answer",
"type": [
"string",
"null"
]
},
"contact": {
"properties": {
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"whatsapp": {
"type": [
"string",
"null"
]
}
},
"required": [
"phone",
"whatsapp",
"email"
],
"type": "object"
},
"expires_at": {
"description": "asked / already_asked: ISO time the question stops waiting (24 h after it was first asked)",
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"question": {
"description": "answered: the question as the restaurant published it",
"type": [
"string",
"null"
]
},
"status": {
"description": "answered: the restaurant already answered the same question (answer). asked / already_asked: it waits for the restaurant until expires_at; the answer is published in get_restaurant_info.faq. not_taking: give the diner the contact",
"enum": [
"answered",
"asked",
"already_asked",
"not_taking"
],
"type": "string"
}
},
"required": [
"status",
"question",
"answer",
"expires_at",
"contact",
"message"
],
"type": "object"
}
},
{
"description": "Cancel a reservation on the guest's behalf using its confirmation code. Only pending/confirmed bookings whose time has not come yet can be cancelled; after that it fails with reservation_closed (the guest must call the restaurant). Works even while the restaurant takes no new online reservations.",
"inputSchema": {
"properties": {
"confirmation_code": {
"type": "string"
}
},
"required": [
"confirmation_code"
],
"type": "object"
},
"name": "cancel_reservation",
"outputSchema": {
"properties": {
"cancelled": {
"const": true,
"type": "boolean"
},
"status": {
"const": "cancelled",
"type": "string"
}
},
"required": [
"cancelled",
"status"
],
"type": "object"
}
},
{
"description": "Move a reservation to another time on the same day and/or change the party size, on the guest's behalf, using its confirmation code; the date cannot change (cancel and book again for another day). The reservation is kept if the new time has no room: then changed is false, result \"unchanged\" with a reason, and nothing was touched; look for another time with check_availability or list_available_slots. Where the restaurant confirms bookings by hand, a new time or a bigger party goes back to status \"pending\". Fails with call_restaurant once the guest said they are running late (the guest must call the restaurant), with reservation_closed when the booking time has come or it is no longer live, with commerce_disabled while the restaurant takes no online reservations (cancel_reservation still works), and with change_limit (details.retryAfterSeconds) after 4 changes of one booking in an hour. Repeating a change that already happened (e.g. after a timeout) is safe: result \"already_booked\" with the booking as it stands. To find a time first, pass confirmation_code to check_availability so the guest's own table is not counted.",
"inputSchema": {
"properties": {
"confirmation_code": {
"type": "string"
},
"party_size": {
"description": "New party size. Omit to keep it.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"time": {
"description": "New time, HH:MM (24h, restaurant local time). Omit to keep the time.",
"type": "string"
}
},
"required": [
"confirmation_code"
],
"type": "object"
},
"name": "change_reservation",
"outputSchema": {
"properties": {
"changed": {
"description": "false = nothing was written: no room at that time (result unchanged; look for another time with check_availability) or the booking already is like that (result already_booked)",
"type": "boolean"
},
"date": {
"description": "YYYY-MM-DD (never changes here)",
"type": "string"
},
"manage_url": {
"type": "string"
},
"party_size": {
"type": "integer"
},
"quiet": {
"description": "Only when changed: the new table time falls in the quiet hour the restaurant declares (get_restaurant_info.quiet_hours; declared by the restaurant, not checked by MenuNode)",
"type": "boolean"
},
"reason": {
"description": "Why nothing changed (full, notice, past, not_a_slot, party_size…, already_booked); null when changed",
"type": [
"string",
"null"
]
},
"result": {
"description": "already_booked = the booking already has that time and party size (e.g. a repeated call after a timeout): treat it as done",
"enum": [
"changed",
"unchanged",
"already_booked"
],
"type": "string"
},
"status": {
"enum": [
"pending_verification",
"pending",
"confirmed",
"cancelled",
"completed",
"no_show"
],
"type": "string"
},
"table_released": {
"type": "boolean"
},
"time": {
"description": "HH:MM, restaurant local time",
"type": "string"
}
},
"required": [
"changed",
"result",
"reason",
"status",
"date",
"time",
"party_size",
"manage_url"
],
"type": "object"
}
},
{
"description": "Whether one exact slot (date YYYY-MM-DD, time HH:MM) is available for a party size. Holiday closures and special hours are applied (reason \"special_closed\" + special_label when the restaurant is closed that day). quiet: true when that table time falls in the quiet hour the restaurant declares (get_restaurant_info.quiet_hours). Before change_reservation, pass the booking's confirmation_code so the guest's own table is not counted (otherwise a time the change fits in may read \"full\"). table_choice: only where the restaurant lets guests pick a table and that time is available, the zones (rooms, terrace) and the tables free for this party then (name, zone, seats = how many it takes); pass one table_id, or only a zone_id, to create_reservation. Null = the guest cannot pick a table (the restaurant seats them), or too many plan reads from this address for now (try again in a few minutes). It never says who booked the other tables or when.",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"confirmation_code": {
"description": "Optional: the booking being changed, left out of the count (#536). Ignored when it is not a booking of this location and date.",
"type": "string"
},
"date": {
"type": "string"
},
"party_size": {
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"restaurant_slug": {
"type": "string"
},
"time": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"date",
"time",
"party_size"
],
"type": "object"
},
"name": "check_availability",
"outputSchema": {
"properties": {
"alternatives": {
"description": "Other available times that day (HH:MM), up to 8",
"items": {
"type": "string"
},
"type": "array"
},
"available": {
"type": "boolean"
},
"quiet": {
"description": "#529: that table time falls in the restaurant's declared quiet hour (get_restaurant_info.quiet_hours)",
"type": "boolean"
},
"reason": {
"description": "Why not: full | notice | past | not_a_slot | blackout | closed_day | special_closed | too_far | party_size | reservations_off",
"type": [
"string",
"null"
]
},
"seating": {
"properties": {
"asked": {
"description": "True: the restaurant asks guests \"inside or outside?\" for that date, and create_reservation keeps a seating_preference. A preference only: no table or area is held",
"type": "boolean"
},
"outside_closed": {
"description": "True: the restaurant closed its outside area that day (weather), so nobody is asked; a guest who wants outside should pick another day or call",
"type": "boolean"
}
},
"required": [
"asked",
"outside_closed"
],
"type": "object"
},
"special_label": {
"type": [
"string",
"null"
]
},
"table_choice": {
"description": "Null = the guest cannot pick a table here (or the time is not available): the restaurant seats them",
"properties": {
"tables": {
"description": "Only the tables free for the party then; pass table_id to create_reservation",
"items": {
"properties": {
"name": {
"description": "The restaurant's own name or number for the table",
"type": "string"
},
"seats": {
"description": "How many people it takes; null = not set",
"type": [
"integer",
"null"
]
},
"table_id": {
"type": "integer"
},
"zone": {
"type": [
"string",
"null"
]
},
"zone_id": {
"type": [
"integer",
"null"
]
}
},
"required": [
"table_id",
"name",
"zone_id",
"zone",
"seats"
],
"type": "object"
},
"type": "array"
},
"zones": {
"description": "Rooms or areas with a free table; pass zone_id to create_reservation to ask only for the zone",
"items": {
"properties": {
"free_tables": {
"description": "Tables in this zone free for the party then",
"type": "integer"
},
"name": {
"type": "string"
},
"zone_id": {
"type": "integer"
}
},
"required": [
"zone_id",
"name",
"free_tables"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"zones",
"tables"
],
"type": [
"object",
"null"
]
}
},
"required": [
"available",
"reason",
"alternatives",
"quiet",
"seating",
"table_choice"
],
"type": "object"
}
},
{
"description": "Confirm a create_availability_alert with the 6-digit code emailed to the guest. From then on the guest waits for a table in that range, in the order guests confirmed; a newer alert of the same email for the same place and day replaces the older one. Nothing is booked or held. A wrong code fails with otp_invalid; otp_expired or otp_attempts_exhausted means that code can no longer be used (start again with create_availability_alert).",
"inputSchema": {
"properties": {
"alert_id": {
"type": "number"
},
"code": {
"type": "string"
}
},
"required": [
"alert_id",
"code"
],
"type": "object"
},
"name": "confirm_availability_alert",
"outputSchema": {
"properties": {
"active": {
"const": true,
"type": "boolean"
},
"booked": {
"const": false,
"description": "Nothing is booked or held: the email only says a time freed up, and the first to book it gets it",
"type": "boolean"
},
"date": {
"type": "string"
},
"message": {
"type": "string"
},
"party_size": {
"type": "integer"
},
"time_from": {
"type": "string"
},
"time_to": {
"type": "string"
}
},
"required": [
"active",
"booked",
"date",
"time_from",
"time_to",
"party_size",
"message"
],
"type": "object"
}
},
{
"description": "Confirm a pending order with the 6-digit code emailed to the diner. A wrong code fails with otp_invalid (ask the diner to check it and try again); otp_expired or otp_attempts_exhausted means that code can no longer be used (place the order again with create_order to get a new one).",
"inputSchema": {
"properties": {
"code": {
"type": "string"
},
"order_id": {
"type": "number"
}
},
"required": [
"order_id",
"code"
],
"type": "object"
},
"name": "confirm_order",
"outputSchema": {
"properties": {
"confirmed": {
"const": true,
"type": "boolean"
},
"message": {
"type": "string"
},
"order_number": {
"type": "string"
},
"pickup_number": {
"description": "The short number the restaurant calls out when a pickup order is ready (1, 2, 3... per location and local day, #588): tell it to the diner. null for a table or a delivery, until the order is confirmed (email code or online payment), once it is finished, and on older orders",
"type": [
"integer",
"null"
]
},
"tracking_url": {
"type": "string"
},
"transfer": {
"properties": {
"account": {
"description": "Where to send the money: an alias or CBU/CVU (Argentina), a Pix key (Brazil) or a CLABE (Mexico), as `kind` says",
"type": "string"
},
"amount": {
"description": "Decimal amount as a string with 2 decimals, e.g. \"14800.00\"",
"type": "string"
},
"concept": {
"description": "What to write as the transfer reference (the order number)",
"type": "string"
},
"currency": {
"type": [
"string",
"null"
]
},
"holder": {
"type": [
"string",
"null"
]
},
"kind": {
"description": "What `account` is, so the diner knows which app or field to use",
"enum": [
"alias",
"cbu",
"pix",
"clabe"
],
"type": "string"
},
"pay_first": {
"description": "True: the restaurant starts preparing once the money arrives",
"type": "boolean"
}
},
"required": [
"account",
"kind",
"holder",
"amount",
"currency",
"concept",
"pay_first"
],
"type": "object"
}
},
"required": [
"confirmed",
"order_number",
"pickup_number",
"tracking_url",
"message"
],
"type": "object"
}
},
{
"description": "Confirm a pending reservation with the 6-digit code emailed to the guest. If the same email already has a pending or confirmed booking at this location whose table time overlaps this one (lunch and dinner the same day do not), it fails with already_booked and nothing is confirmed; details carry that booking's date, time, partySize, status, confirmationCode and manageUrl. Ask the guest: change the booking they have (change_reservation with that confirmationCode; this new one is then let go on its own), or book this one too (call confirm_reservation again with the same code and confirm_additional: true). The code stays valid for that second call; do not repeat the call without confirm_additional (each try uses up one of the code's few attempts and gets the same answer). A booking the restaurant entered itself is never reported. A wrong code fails with otp_invalid (ask the guest to check it and try again); otp_expired or otp_attempts_exhausted means that code can no longer be used (book again with create_reservation to get a new one).",
"inputSchema": {
"properties": {
"code": {
"type": "string"
},
"confirm_additional": {
"description": "Only after already_booked, when the guest wants this table as well as the one they have (e.g. for another group).",
"type": "boolean"
},
"reservation_id": {
"type": "number"
}
},
"required": [
"reservation_id",
"code"
],
"type": "object"
},
"name": "confirm_reservation",
"outputSchema": {
"properties": {
"confirmation_code": {
"type": "string"
},
"confirmed": {
"const": true,
"type": "boolean"
},
"deposit": {
"anyOf": [
{
"properties": {
"amount": {
"description": "The exact amount, frozen when the booking was made",
"type": "string"
},
"currency": {
"type": [
"string",
"null"
]
},
"method": {
"const": "transfer",
"type": "string"
},
"pay_by": {
"description": "ISO instant the restaurant asks to have it by; null = none set. Nothing is cancelled by itself after it: the restaurant decides",
"type": [
"string",
"null"
]
},
"policy": {
"description": "The restaurant's own words about returns and no-shows, as written; null = it wrote none. Never add to it",
"type": [
"string",
"null"
]
},
"status": {
"description": "waiting = still to pay; reported = the guest says they sent it (proves nothing); received = the restaurant saw the money; refunded / applied = the restaurant noted it gave it back / took it off the bill",
"enum": [
"waiting",
"reported",
"received",
"refunded",
"applied"
],
"type": "string"
},
"transfer": {
"anyOf": [
{
"properties": {
"account": {
"type": "string"
},
"concept": {
"description": "What to write as the transfer reference",
"type": "string"
},
"holder": {
"type": [
"string",
"null"
]
},
"kind": {
"enum": [
"alias",
"cbu",
"pix",
"clabe"
],
"type": "string"
}
},
"required": [
"account",
"kind",
"holder",
"concept"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Where to send it, straight to the restaurant; null once received, or when the restaurant has to give the details itself"
}
},
"required": [
"status",
"amount",
"currency",
"method",
"pay_by",
"policy",
"transfer"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "#368: the deposit the restaurant asks to hold this booking; null = none (or, on create_reservation, not past the code yet: see deposit_amount). The guest pays the restaurant directly; only the restaurant marks it received"
},
"manage_url": {
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"enum": [
"pending_verification",
"pending",
"confirmed",
"cancelled",
"completed",
"no_show"
],
"type": "string"
}
},
"required": [
"confirmed",
"status",
"confirmation_code",
"manage_url",
"deposit"
],
"type": "object"
}
},
{
"description": "Confirm a pending waitlist sign-up with the 6-digit code emailed to the guest. Puts the group in line and returns their position, estimated wait and tracking_url (a private link: share it only with that guest; it also lets them leave the line). A wrong code fails with otp_invalid (ask the guest to check it); otp_expired or otp_attempts_exhausted means that code can no longer be used (start again with join_waitlist).",
"inputSchema": {
"properties": {
"code": {
"type": "string"
},
"entry_id": {
"type": "number"
}
},
"required": [
"entry_id",
"code"
],
"type": "object"
},
"name": "confirm_waitlist",
"outputSchema": {
"properties": {
"estimated_wait_minutes": {
"type": [
"integer",
"null"
]
},
"groups_ahead": {
"type": [
"integer",
"null"
]
},
"joined_at": {
"type": "string"
},
"notified_at": {
"type": [
"string",
"null"
]
},
"party_size": {
"type": "integer"
},
"position": {
"type": [
"integer",
"null"
]
},
"status": {
"description": "notified = the table is ready, go to the host",
"enum": [
"waiting",
"notified",
"seated",
"closed"
],
"type": "string"
},
"table": {
"type": [
"string",
"null"
]
},
"tracking_url": {
"type": "string"
}
},
"required": [
"status",
"party_size",
"position",
"groups_ahead",
"estimated_wait_minutes",
"joined_at",
"tracking_url"
],
"type": "object"
}
},
{
"description": "When the guest's day is full (check_availability or list_available_slots shows every time they would take as reason \"full\"), ask the restaurant to email them if a table frees up: date, a time range time_from..time_to (HH:MM, both included, the times they would accept), party size, the guest's name and email. Only where the restaurant offers it (fails with feature_off otherwise; then suggest another day or the contact from get_restaurant_info), with the same switches as create_reservation. Fails with has_room when a time in that range is free right now (book it with create_reservation instead), with nothing_to_wait_for when no time in that range can be booked at all (outside the hours, too soon) and day_closed when the day takes no bookings. This does NOT book or hold anything: a 6-digit code is emailed to the guest; ask them for it and call confirm_availability_alert. Once confirmed, if a time in their range frees up, the first few guests who asked, in the order they asked, get an email with a link to book it; whoever books first gets it. Alerts end on their own after that day. Only at the guest's explicit request, with their own email. code_not_sent / invalid_email: as create_reservation.",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"customer_email": {
"type": "string"
},
"customer_name": {
"type": "string"
},
"date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"language": {
"description": "Language of the emails (default: the restaurant's)",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"party_size": {
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"restaurant_slug": {
"type": "string"
},
"time_from": {
"description": "HH:MM, the earliest time the guest would take",
"type": "string"
},
"time_to": {
"description": "HH:MM, the latest time the guest would take (not before time_from)",
"type": "string"
}
},
"required": [
"restaurant_slug",
"date",
"time_from",
"time_to",
"party_size",
"customer_name",
"customer_email"
],
"type": "object"
},
"name": "create_availability_alert",
"outputSchema": {
"properties": {
"active": {
"const": false,
"description": "Not waiting yet: confirm_availability_alert with the emailed code first",
"type": "boolean"
},
"alert_id": {
"type": "integer"
},
"message": {
"type": "string"
},
"verification_required": {
"const": true,
"type": "boolean"
}
},
"required": [
"alert_id",
"verification_required",
"active",
"message"
],
"type": "object"
}
},
{
"description": "Place an order for a diner yourself (if you cannot verify the diner by the emailed code or pay for them, use prepare_order_link and give them its order_url instead). MenuNode collects no payment: the diner pays at the restaurant / on delivery, or, with payment_method transfer (only when get_restaurant_info.ordering.payment_methods lists it), by bank transfer straight to the restaurant's account. Once the order is placed (here, or by confirm_order) a `transfer` object carries the account and its kind (alias, CBU/CVU, Pix key or CLABE), holder, exact amount and the reference to write; relay it to the diner (pay_first true: the kitchen waits for the money). A payment_method the location does not take fails with payment_method_not_accepted (details.accepted); details.accepted empty with online_only true means the location only takes online payment, which you cannot make for the diner: use prepare_order_link and give them its order_url to order and pay there. Requires item ids from get_menu_structured, the diner's name and email, a fulfillment type the restaurant offers (see get_restaurant_info), a table_number for dine-in, and an address + phone for delivery. When the restaurant has delivery zones (get_restaurant_info.ordering.delivery_zones) the delivery fee and minimum are computed server-side from the address (pass latitude/longitude too if the diner shared their location); an address outside every zone fails with delivery_out_of_zone (offer pickup instead) and one that cannot be found with delivery_address_not_found. Returns verification_required — if true, ask the diner for the 6-digit code emailed to them and call confirm_order. If the code email cannot be sent the call fails with code_not_sent and nothing is saved: tell the diner to try again in a few minutes or call the restaurant. An address that cannot receive mail (a made-up or reserved domain) fails with invalid_email and nothing is saved: ask for a real one. If the kitchen paused online orders the call fails with \"paused\" and a resume_at (ISO time) — tell the diner when to come back, do not retry before then; if the time slot is full it fails with next_slot_at — offer that time (as scheduled_for when the restaurant allows scheduling). Reservations are never paused. Some restaurants confirm pickup/delivery orders that may come from far away: the call then fails with requires_confirmation (details.reason: distance | timezone | phone | no_location) and nothing is created — ask the diner whether the order is real and for this location, then call again with far_order_confirmed true. Ordering for someone else: pass recipient_name and recipient_phone. Pass `avoid` when the diner says what they cannot eat, through prepare_order_link or get_menu_structured before create_order: a create_order that needs no emailed code is already placed when it answers. Health information: never tell the diner a dish is safe or free of anything, whatever the answer; pass on the note of each line (note_id and add_ons_note_id, the text in avoid_notes) and tell them to confirm with the restaurant. Add-ons carry no allergen information. The kitchen does NOT receive avoid: only the `allergy` of create_order, sent with allergy_consent true, reaches it.",
"inputSchema": {
"properties": {
"adult_confirmed": {
"description": "When get_restaurant_info.ordering.adult_confirmation_required is true and a dish is marked contains_alcohol: true only after the diner said they are 18 or older. Otherwise the call fails with adult_confirmation_required and nothing is ordered. Dishes with alcohol inside ordering.alcohol_hours_blocked fail with alcohol_hours (details from, to, items): order without them or later (#350).",
"type": "boolean"
},
"allergy": {
"description": "What the diner is allergic to, for the kitchen: saved with the order and shown on the kitchen ticket, like the diner's own answer on the order page. Send it only if the diner said so, and only with allergy_consent true. keys: any of gluten, crustaceans, eggs, fish, peanuts, soy, milk, tree_nuts, celery, mustard, sesame, sulphites, lupin, molluscs (an unknown key fails with invalid_allergy); note: one line of text, at most 200 characters (\"celiac, no cross-contact\"). Health data: the restaurant keeps it 90 days, then it is deleted (the order stays).",
"properties": {
"keys": {
"items": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs"
],
"type": "string"
},
"maxItems": 14,
"type": "array"
},
"note": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"allergy_consent": {
"description": "Required with `allergy`: true only after the diner explicitly agreed to share their allergy with the restaurant. allergy without allergy_consent true fails with allergy_consent_required and nothing is ordered.",
"type": "boolean"
},
"avoid": {
"description": "What the diner must avoid, the same keys as get_menu_structured's avoid. Send it only if the diner said so. A warning for the diner, never refused: every line gets one answer per key (avoid_conflicts) and the order or the link stays as it is. peanuts and tree_nuts are separate; shellfish needs crustaceans and molluscs; any other allergy has no key: send the diner to the restaurant. Not saved with the order, so the kitchen does NOT receive it: for the kitchen to know, send `allergy` with allergy_consent.",
"items": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"type": "array"
},
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"coupon_code": {
"type": "string"
},
"customer_email": {
"type": "string"
},
"customer_name": {
"type": "string"
},
"customer_phone": {
"type": "string"
},
"delivery_address": {
"properties": {
"city": {
"type": "string"
},
"latitude": {
"description": "Optional: exact delivery point, if the diner shared it",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"line1": {
"description": "Street and number",
"type": "string"
},
"line2": {
"type": "string"
},
"longitude": {
"maximum": 180,
"minimum": -180,
"type": "number"
},
"notes": {
"type": "string"
},
"postal_code": {
"type": "string"
}
},
"type": "object"
},
"far_order_confirmed": {
"description": "Only after create_order failed with requires_confirmation (#386): the diner said yes, the order is real (a prank or the wrong branch are what the restaurant wants to avoid). Never set it without asking them.",
"type": "boolean"
},
"fulfillment": {
"enum": [
"dine_in",
"pickup",
"delivery"
],
"type": "string"
},
"items": {
"items": {
"properties": {
"combo_option_ids": {
"description": "Only for a combo (combo_steps in get_menu_structured): the option_ids the diner picked, between min and max per step, each once. The line costs price + each extra_price. Refused with combo_choice_invalid (a step not answered, too many, an unknown id), combo_option_unavailable (one ran out: ask for another) or combo_unavailable (a step has nothing left to pick: the combo cannot be ordered now)",
"items": {
"minimum": 1,
"type": "integer"
},
"type": "array"
},
"from_suggestion": {
"description": "True when the diner accepted this dish from another ordered dish's pairs_well_with (analytics only)",
"type": "boolean"
},
"item_id": {
"minimum": 1,
"type": "integer"
},
"notes": {
"description": "Special instructions for this dish",
"type": "string"
},
"personalization_ids": {
"items": {
"type": "number"
},
"type": "array"
},
"presentation_id": {
"description": "Only for a dish with presentations in get_menu_structured (glass/bottle, unit/dozen): the one the diner chose; omitted = the main one. Refused with presentation_unavailable for any other id",
"minimum": 1,
"type": "integer"
},
"quantity": {
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [
"item_id",
"quantity"
],
"type": "object"
},
"type": "array"
},
"notes": {
"description": "Order-level notes",
"type": "string"
},
"payment_method": {
"description": "How the diner will pay: cash/card/qr at the restaurant or on delivery, or transfer to the restaurant's account. Must be one of get_restaurant_info.ordering.payment_methods",
"enum": [
"cash",
"card",
"transfer",
"qr"
],
"type": "string"
},
"recipient_name": {
"description": "Pickup/delivery for someone else: who receives or picks it up. Send together with recipient_phone. Seen only by the restaurant and its courier.",
"maxLength": 80,
"type": "string"
},
"recipient_phone": {
"description": "Phone of recipient_name",
"maxLength": 32,
"type": "string"
},
"restaurant_slug": {
"type": "string"
},
"scheduled_for": {
"description": "ISO datetime for a later pickup/delivery, only when get_restaurant_info.ordering.scheduling is asap_and_scheduled and within max_days_ahead; otherwise the call fails with scheduled_not_accepted (and the earliest_at/latest_at window when scheduling is allowed; reason too_soon + item when a dish needs days of notice or is sold out until tomorrow: schedule it at earliest_at or later). A preorder dish (get_menu_structured category preorder) must be scheduled on one of its delivery_dates before order_by: otherwise preorder_date (details deliveryDates, orderBy), preorder_closed after order_by, and preorder_mixed when other dishes are in the same order",
"type": "string"
},
"table_number": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"items",
"customer_name",
"customer_email",
"fulfillment"
],
"type": "object"
},
"name": "create_order",
"outputSchema": {
"properties": {
"avoid_conflicts": {
"description": "Only with `avoid`: one row per line, in the order of the lines; a line left out is not here. For the diner: it warns, never refuses, and the kitchen does NOT receive it. note_id could_not_check = the dish could not be read just now, not that the restaurant left it blank",
"items": {
"properties": {
"add_ons_note_id": {
"description": "Present when the line has add-ons: they carry no allergen information. Tell the diner this note too (text in avoid_notes)",
"enum": [
"add_ons_not_recorded"
],
"type": "string"
},
"conflicts": {
"items": {
"properties": {
"avoid": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"conflict": {
"description": "contains = the restaurant declares it in the dish; may_contain = declared as possible traces (cross-contact): a conflict too, not a detail; not_recorded = the restaurant has not recorded it for this dish: UNKNOWN, not absent; not_listed_in_declared = the restaurant reviewed the dish and it is not among what it declares, which is not a guarantee. None of these values means a dish is safe or free of an allergen, and a dish with no row is unknown.",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared"
],
"type": "string"
},
"note_id": {
"description": "Key of its text in avoid_notes",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "string"
}
},
"required": [
"avoid",
"conflict",
"note_id"
],
"type": "object"
},
"type": "array"
},
"item_id": {
"type": "integer"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"item_id",
"name",
"conflicts"
],
"type": "object"
},
"type": "array"
},
"avoid_notes": {
"description": "Only with `avoid`: the text of each note_id. Tell the diner the note of the dishes you mention; translate it if needed, but do not soften it.",
"properties": {
"add_ons_not_recorded": {
"type": "string"
},
"contains": {
"type": "string"
},
"could_not_check": {
"type": "string"
},
"may_contain": {
"type": "string"
},
"not_listed_in_declared": {
"type": "string"
},
"not_marked_sin_tacc": {
"type": "string"
},
"not_recorded": {
"type": "string"
},
"sin_tacc_marked": {
"type": "string"
},
"sin_tacc_not_reviewed": {
"type": "string"
}
},
"required": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "object"
},
"currency": {
"type": "string"
},
"message": {
"type": "string"
},
"order_id": {
"type": "integer"
},
"order_number": {
"type": "string"
},
"pickup_number": {
"description": "The short number the restaurant calls out when a pickup order is ready (1, 2, 3... per location and local day, #588): tell it to the diner. null for a table or a delivery, until the order is confirmed (email code or online payment), once it is finished, and on older orders",
"type": [
"integer",
"null"
]
},
"total": {
"description": "Decimal amount as a string with 2 decimals, e.g. \"14800.00\"",
"type": "string"
},
"tracking_url": {
"description": "Present when the order is already placed (no verification needed)",
"type": "string"
},
"transfer": {
"properties": {
"account": {
"description": "Where to send the money: an alias or CBU/CVU (Argentina), a Pix key (Brazil) or a CLABE (Mexico), as `kind` says",
"type": "string"
},
"amount": {
"description": "Decimal amount as a string with 2 decimals, e.g. \"14800.00\"",
"type": "string"
},
"concept": {
"description": "What to write as the transfer reference (the order number)",
"type": "string"
},
"currency": {
"type": [
"string",
"null"
]
},
"holder": {
"type": [
"string",
"null"
]
},
"kind": {
"description": "What `account` is, so the diner knows which app or field to use",
"enum": [
"alias",
"cbu",
"pix",
"clabe"
],
"type": "string"
},
"pay_first": {
"description": "True: the restaurant starts preparing once the money arrives",
"type": "boolean"
}
},
"required": [
"account",
"kind",
"holder",
"amount",
"currency",
"concept",
"pay_first"
],
"type": "object"
},
"transfer_discount": {
"anyOf": [
{
"properties": {
"amount": {
"description": "Decimal amount as a string with 2 decimals, e.g. \"14800.00\"",
"type": "string"
},
"percent": {
"description": "Percentage off the food",
"type": "integer"
}
},
"required": [
"percent",
"amount"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "The restaurant's discount for paying by bank transfer that this order was given, already inside total (and inside transfer.amount). null = none. It is lost, and the total goes back up, if the diner ends up paying another way"
},
"verification_required": {
"description": "True: ask the diner for the emailed 6-digit code and call confirm_order",
"type": "boolean"
}
},
"required": [
"order_id",
"order_number",
"pickup_number",
"total",
"currency",
"verification_required",
"message"
],
"type": "object"
}
},
{
"description": "Book a table for a guest. Requires date, a time from list_available_slots, party size, the guest's name and email; phone and notes optional; coming_for_item_id (optional) = the one dish they say they are coming for, an item_id of this location's menu today (anything else fails with invalid_coming_for): the kitchen gets it, nothing is held for them and they are never promised a notice; seating_preference (optional: inside | outside | any) = where they would rather sit, kept only when the restaurant asks for it on that date (seating.asked in list_available_slots / check_availability) and echoed back as seating_preference (null = not kept): it is a preference the staff reads, so tell the guest it depends on room that day; happening_id (optional) = the id of the event in get_restaurant_info.happenings the table is for (the match, live music; same date), counted against its own capacity: the booking is marked with it for the staff; table_id or zone_id (optional, not both) = a table or only a zone the guest picked from check_availability.table_choice, checked again when saved: table_taken if someone got it first (call check_availability again and offer another), invalid_table if both are passed (even where the restaurant does not let guests pick); table echoes the table or zone kept (null = none: ignored where the restaurant does not let guests pick, and then the restaurant seats them). Returns verification_required — if true, ask the guest for the emailed 6-digit code and call confirm_reservation. If the guest already has a booking here at an overlapping time, confirm_reservation answers already_booked (only once the code proves the email, so nobody learns another person's bookings): change that one with change_reservation, or confirm this one too with confirm_additional: true. Where the restaurant asks for no code there is no such check. If the code email cannot be sent the call fails with code_not_sent and nothing is saved: tell the guest to try again in a few minutes or call the restaurant. An address that cannot receive mail (a made-up or reserved domain) fails with invalid_email and nothing is saved: ask for a real one. Depending on the restaurant the booking is confirmed automatically or awaits the owner's confirmation (status \"pending\"). Some restaurants ask for a deposit to hold the table (often only for large groups): deposit_amount says how much (null = none) as soon as the booking is made, so tell the guest; deposit (method, pay_by, the restaurant's own policy text and how to pay) comes only once the booking is past its code, here or in confirm_reservation / get_reservation. method \"transfer\": the guest transfers straight to the restaurant (account and reference in deposit.transfer) and the booking stays \"pending\" until the restaurant marks it received. method \"mercadopago\" or \"stripe\" (the provider): give the guest deposit.payment_url (their booking page, where they pay on the provider's own checkout, straight to the restaurant); unpaid by pay_by the booking is cancelled and the time freed; a cancel up to deposit.refund_until gives it back automatically, after that or on a no-show the restaurant keeps it (refund_until null = never given back). You never pay nor mark a deposit. You cannot pay it or mark it paid, and nothing is cancelled by itself.",
"inputSchema": {
"properties": {
"allergy": {
"description": "Optional: what the guest is allergic to, for the kitchen to check before they come. Send it only if the guest said so, and only with allergy_consent true. keys: any of gluten, crustaceans, eggs, fish, peanuts, soy, milk, tree_nuts, celery, mustard, sesame, sulphites, lupin, molluscs (an unknown key fails with invalid_allergy); note: one line of text, at most 200 characters. At least one key or a note. Health data: the restaurant keeps it until 90 days after the booking's day, then it is deleted (the booking stays).",
"properties": {
"keys": {
"items": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs"
],
"type": "string"
},
"maxItems": 14,
"type": "array"
},
"note": {
"maxLength": 200,
"type": "string"
}
},
"type": "object"
},
"allergy_consent": {
"description": "Required with `allergy`: true only after the guest explicitly agreed to share their allergy with the restaurant. allergy without allergy_consent true fails with allergy_consent_required and nothing is booked.",
"type": "boolean"
},
"allergy_dish_ids": {
"description": "Optional, only with `allergy`: up to 3 item_ids (get_menu_structured, same location) the guest wants the kitchen to check. The staff answer per dish later; read it in get_reservation.allergy_plan (kitchen yes / no / not_answered) and the guest is emailed when every dish has an answer. Tell the guest it is the kitchen's word, not a guarantee: never say a dish is safe or suitable. Anything else fails with invalid_allergy_dishes.",
"items": {
"minimum": 1,
"type": "integer"
},
"maxItems": 3,
"type": "array"
},
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"coming_for_item_id": {
"description": "Optional: the item_id (get_menu_structured, same location) of the one dish the guest says they are coming for. Passed to the kitchen; nothing is reserved or promised.",
"minimum": 1,
"type": "integer"
},
"customer_email": {
"type": "string"
},
"customer_name": {
"type": "string"
},
"customer_phone": {
"type": "string"
},
"date": {
"type": "string"
},
"happening_id": {
"description": "Optional: the id of one of get_restaurant_info.happenings (the match, live music) this table is for. Same date as the event, one with a reserve_url; counted against its own capacity besides the table. Fails with happening_not_found (not on the list any more), happening_no_booking, happening_other_day or happening_full (details.spotsLeft = people still free for it: a smaller party may fit).",
"type": "string"
},
"notes": {
"type": "string"
},
"party_size": {
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"restaurant_slug": {
"type": "string"
},
"seating_preference": {
"description": "Optional: where the guest would rather sit. Only kept when list_available_slots / check_availability say seating.asked for that date. A preference the staff reads: no table or area is held.",
"enum": [
"inside",
"outside",
"any"
],
"type": "string"
},
"table_id": {
"description": "Optional: one of check_availability.table_choice.tables[].table_id for that date, time and party. Fails with table_taken when it is no longer free. Never together with zone_id: both fail with invalid_table, even where guests cannot pick.",
"minimum": 1,
"type": "integer"
},
"time": {
"type": "string"
},
"zone_id": {
"description": "Optional, instead of table_id: one of check_availability.table_choice.zones[].zone_id; the restaurant picks the table in that zone. Never together with table_id (invalid_table, even where guests cannot pick).",
"minimum": 1,
"type": "integer"
}
},
"required": [
"restaurant_slug",
"date",
"time",
"party_size",
"customer_name",
"customer_email"
],
"type": "object"
},
"name": "create_reservation",
"outputSchema": {
"properties": {
"confirmation_code": {
"type": "string"
},
"deposit": {
"anyOf": [
{
"properties": {
"amount": {
"description": "The exact amount, frozen when the booking was made",
"type": "string"
},
"currency": {
"type": [
"string",
"null"
]
},
"method": {
"const": "transfer",
"type": "string"
},
"pay_by": {
"description": "ISO instant the restaurant asks to have it by; null = none set. Nothing is cancelled by itself after it: the restaurant decides",
"type": [
"string",
"null"
]
},
"policy": {
"description": "The restaurant's own words about returns and no-shows, as written; null = it wrote none. Never add to it",
"type": [
"string",
"null"
]
},
"status": {
"description": "waiting = still to pay; reported = the guest says they sent it (proves nothing); received = the restaurant saw the money; refunded / applied = the restaurant noted it gave it back / took it off the bill",
"enum": [
"waiting",
"reported",
"received",
"refunded",
"applied"
],
"type": "string"
},
"transfer": {
"anyOf": [
{
"properties": {
"account": {
"type": "string"
},
"concept": {
"description": "What to write as the transfer reference",
"type": "string"
},
"holder": {
"type": [
"string",
"null"
]
},
"kind": {
"enum": [
"alias",
"cbu",
"pix",
"clabe"
],
"type": "string"
}
},
"required": [
"account",
"kind",
"holder",
"concept"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Where to send it, straight to the restaurant; null once received, or when the restaurant has to give the details itself"
}
},
"required": [
"status",
"amount",
"currency",
"method",
"pay_by",
"policy",
"transfer"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "#368: the deposit the restaurant asks to hold this booking; null = none (or, on create_reservation, not past the code yet: see deposit_amount). The guest pays the restaurant directly; only the restaurant marks it received"
},
"deposit_amount": {
"description": "#368: what the restaurant asks to hold this table, in its currency (\"40000.00\"); null = no deposit. Known before the code: tell the guest now. Where to pay comes only once the booking is past its code (deposit)",
"type": [
"string",
"null"
]
},
"manage_url": {
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"reservation_id": {
"type": "integer"
},
"seating_preference": {
"description": "#335: inside | outside as kept on the booking; null = none kept (not asked for, the restaurant does not ask, or outside is closed that day)",
"type": [
"string",
"null"
]
},
"status": {
"description": "Present when no verification is needed: confirmed, or pending = awaits the restaurant",
"enum": [
"pending_verification",
"pending",
"confirmed",
"cancelled",
"completed",
"no_show"
],
"type": "string"
},
"table": {
"description": "#697 I3: the table (its name) or only the zone kept from table_id / zone_id; null = none (not picked, or the restaurant does not let guests pick)",
"type": [
"string",
"null"
]
},
"verification_required": {
"description": "True: ask the guest for the emailed 6-digit code and call confirm_reservation",
"type": "boolean"
}
},
"required": [
"reservation_id",
"verification_required",
"seating_preference",
"deposit_amount",
"table"
],
"type": "object"
}
},
{
"description": "The full current menu as markdown (dish ids included, add-ons listed, EU-14 allergens and possible traces per dish, coeliac-safe (Sin TACC) dishes marked, sold-out dishes flagged \"SOLD OUT\") plus contact/hours lines and, for a restaurant with several locations, the list of them with their menu links. Pass `language` to get it in one of the languages the restaurant offers (see get_restaurant_info.menu_languages); otherwise it comes in the restaurant's own language. Prefer get_menu_structured when you intend to order. discontinued lists the dishes the restaurant deleted from this menu in the last 12 months (it no longer serves them: never offer or order them; replaced_by, when set, is the dish it suggests instead); pass `since` (ISO 8601 date or time) to also get removed_since, the ones removed at or after it. daily_menu_upcoming lists the menu of the day the restaurant already saved for the next days (date, title, set_price, dishes): it may change, so say so and never promise it. allergen_changes lists the allergens the restaurant itself declared it added to a dish in the last 30 days (added, may_contain_added = new traces, celiac_lost = no longer Sin TACC, declared_on): say it as declared by the restaurant. It is not a complete list: a dish without an entry is NOT \"unchanged\", never say so; when it matters, tell the diner to ask the restaurant. Pass `avoid` when the diner says what they cannot eat: contains = the restaurant declares it in the dish; may_contain = declared as possible traces (cross-contact): a conflict too, not a detail; not_recorded = the restaurant has not recorded it for this dish: UNKNOWN, not absent; not_listed_in_declared = the restaurant reviewed the dish and it is not among what it declares, which is not a guarantee. None of these values means a dish is safe or free of an allergen, and a dish with no row is unknown. Health information: never tell the diner a dish is safe or free of anything, whatever the answer; pass on the note of each dish you mention (note_id, its text in avoid_notes), and tell them to confirm with the restaurant before ordering. Add-ons carry no allergen information. daily_menu_upcoming dishes carry no allergen information.",
"inputSchema": {
"properties": {
"avoid": {
"description": "What the diner must avoid: EU-14 allergen keys, or gluten_celiac for a coeliac (it also reads the Sin TACC mark). Not a filter: every dish still comes back, each with one answer per key. peanuts and tree_nuts are separate; shellfish needs crustaceans and molluscs; any other allergy has no key: send the diner to the restaurant.",
"items": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"type": "array"
},
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"language": {
"description": "Menu language: en | es | pt | fr. A language the restaurant does not offer falls back to its own language.",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"restaurant_slug": {
"type": "string"
},
"since": {
"description": "ISO 8601 date (midnight on the restaurant's calendar) or date-time: removed_since lists the dishes removed at or after it",
"type": "string"
}
},
"required": [
"restaurant_slug"
],
"type": "object"
},
"name": "get_menu",
"outputSchema": {
"properties": {
"allergen_changes": {
"description": "Allergens the restaurant itself declared it added to a dish in the last 30 days, newest first. Not a complete list: a dish missing here is not \"unchanged\"; ask the restaurant",
"items": {
"properties": {
"added": {
"description": "EU-14 keys the dish now contains",
"items": {
"type": "string"
},
"type": "array"
},
"celiac_lost": {
"description": "True = no longer marked Sin TACC (coeliac-safe)",
"type": "boolean"
},
"declared_at": {
"description": "When it was declared (ISO 8601)",
"type": "string"
},
"declared_on": {
"description": "Day of the last declared change (YYYY-MM-DD, the restaurant's calendar)",
"type": "string"
},
"item_id": {
"type": "integer"
},
"may_contain_added": {
"description": "EU-14 keys of new possible traces",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
}
},
"required": [
"item_id",
"name",
"added",
"may_contain_added",
"celiac_lost",
"declared_on",
"declared_at"
],
"type": "object"
},
"type": "array"
},
"available_languages": {
"items": {
"type": "string"
},
"type": "array"
},
"avoid_conflicts": {
"description": "Only with `avoid`: every dish in the sections of the menu, each with one answer per avoided key",
"items": {
"properties": {
"category": {
"type": "string"
},
"conflicts": {
"items": {
"properties": {
"avoid": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"conflict": {
"description": "contains = the restaurant declares it in the dish; may_contain = declared as possible traces (cross-contact): a conflict too, not a detail; not_recorded = the restaurant has not recorded it for this dish: UNKNOWN, not absent; not_listed_in_declared = the restaurant reviewed the dish and it is not among what it declares, which is not a guarantee. None of these values means a dish is safe or free of an allergen, and a dish with no row is unknown.",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared"
],
"type": "string"
},
"note_id": {
"description": "Key of its text in avoid_notes",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "string"
}
},
"required": [
"avoid",
"conflict",
"note_id"
],
"type": "object"
},
"type": "array"
},
"item_id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"item_id",
"name",
"category",
"conflicts"
],
"type": "object"
},
"type": "array"
},
"avoid_notes": {
"description": "Only with `avoid`: the text of each note_id. Tell the diner the note of the dishes you mention; translate it if needed, but do not soften it.",
"properties": {
"add_ons_not_recorded": {
"type": "string"
},
"contains": {
"type": "string"
},
"could_not_check": {
"type": "string"
},
"may_contain": {
"type": "string"
},
"not_listed_in_declared": {
"type": "string"
},
"not_marked_sin_tacc": {
"type": "string"
},
"not_recorded": {
"type": "string"
},
"sin_tacc_marked": {
"type": "string"
},
"sin_tacc_not_reviewed": {
"type": "string"
}
},
"required": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "object"
},
"daily_menu_upcoming": {
"description": "The menu of the day's next days the restaurant already saved (tomorrow up to six days ahead, date order; empty = none). Subject to change: never promise a dish, it is published on its date",
"items": {
"properties": {
"date": {
"description": "YYYY-MM-DD, the restaurant's calendar",
"type": "string"
},
"dishes": {
"items": {
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
}
},
"required": [
"name",
"description"
],
"type": "object"
},
"type": "array"
},
"set_price": {
"description": "Price of the whole menu of the day, in the menu currency; null = none",
"type": [
"string",
"null"
]
},
"subject_to_change": {
"description": "Always true: saved ahead, it may change",
"type": "boolean"
},
"title": {
"type": "string"
}
},
"required": [
"date",
"title",
"set_price",
"dishes",
"subject_to_change"
],
"type": "object"
},
"type": "array"
},
"discontinued": {
"description": "Dishes the restaurant deleted from this menu in the last 12 months, newest first: it no longer serves them",
"items": {
"properties": {
"name": {
"type": "string"
},
"removed_at": {
"description": "When it was removed (ISO 8601)",
"type": "string"
},
"removed_on": {
"description": "Day it was removed (YYYY-MM-DD, the restaurant's calendar)",
"type": "string"
},
"replaced_by": {
"description": "The dish on the menu the restaurant suggests instead, or null",
"properties": {
"item_id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"item_id",
"name"
],
"type": [
"object",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"section",
"removed_on",
"removed_at",
"replaced_by"
],
"type": "object"
},
"type": "array"
},
"language": {
"description": "Language the menu came back in",
"type": "string"
},
"markdown": {
"description": "The whole menu as markdown",
"type": "string"
},
"menu_updated_at": {
"description": "When dishes or prices last changed (ISO 8601); null = not recorded. Prefer fresh data over a cached copy older than this (#381)",
"type": [
"string",
"null"
]
},
"prices_valid_until": {
"description": "YYYY-MM-DD (the restaurant's calendar): the restaurant states its menu prices are valid until this day inclusive; null = it states no such date. Quote it as the restaurant's statement",
"type": [
"string",
"null"
]
},
"removed_since": {
"description": "With `since`: the discontinued dishes removed at or after it; null without `since`",
"items": {
"properties": {
"name": {
"type": "string"
},
"removed_at": {
"description": "When it was removed (ISO 8601)",
"type": "string"
},
"removed_on": {
"description": "Day it was removed (YYYY-MM-DD, the restaurant's calendar)",
"type": "string"
},
"replaced_by": {
"description": "The dish on the menu the restaurant suggests instead, or null",
"properties": {
"item_id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"item_id",
"name"
],
"type": [
"object",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"section",
"removed_on",
"removed_at",
"replaced_by"
],
"type": "object"
},
"type": [
"array",
"null"
]
}
},
"required": [
"language",
"available_languages",
"markdown",
"discontinued",
"removed_since",
"allergen_changes",
"daily_menu_upcoming"
],
"type": "object"
}
},
{
"description": "The menu as JSON: categories (with available_now / available_hours for time-of-day menus like breakfast, evaluated in the restaurant's timezone; set_menu_price for a fixed-price menu of the day, which is not orderable dish by dish) → items with item_id, price (the price in force right now, happy hour included; regular_price + price_note when a promo applies), available_now (true = create_order takes it for as soon as possible), orderable (now | later = only in an order scheduled for later, the restaurant takes those | no = not online right now) with orderable_reason (sold_out | notice | hours | set_menu | preorder; null when now) and orderable_from (ISO, only \"not before this time\" for a dish sold out until then, never a time the order is sure to be taken: the real earliest time comes back as earliest_at; null = go by notice_days or the category hours), available (false = sold out right now: create_order refuses it for as soon as possible; when sold_out_until is set and the restaurant takes scheduled orders, an order scheduled at or after the earliest_at it returns is accepted; a dish outside its category hours can only go into an order scheduled within those hours), sold_out_until (ISO time a \"sold out today\" dish comes back, else null), preorder on a category (null for most: delivery_dates YYYY-MM-DD on the restaurant's clock and order_by ISO; its dishes are ordered only scheduled on one of those dates, before order_by, in an order with no other dishes: never offer another date; create_order refuses with preorder_date, preorder_closed or preorder_mixed), notice_days (whole days ahead the dish must be ordered, 0 = none; an earlier time fails with scheduled_not_accepted, reason too_soon, earliest_at), dietary tags, allergens (EU-14 keys the dish contains: gluten, crustaceans, eggs, fish, peanuts, soy, milk, tree_nuts, celery, mustard, sesame, sulphites, lupin, molluscs — an empty list never means \"allergen-free\"), may_contain (same keys, possible traces from cross-contact), allergens_status (declared | none_declared = the restaurant checked and declared none | not_recorded = never filled in, UNKNOWN: tell the diner to ask the restaurant; never present a dish as free of an allergen unless it is explicitly marked) with allergens_reviewed_at, celiac_safe (true only when the restaurant marks the dish \"Sin TACC\": gluten-free and prepared to avoid cross-contact; the gluten_free dietary tag alone means the recipe has no gluten), calories (kcal per serving as the restaurant declares it; null = not recorded, never estimate), contains_alcohol (true = the restaurant marked the dish as containing alcohol; false = not marked, never \"alcohol-free\"), wine (null unless the dish is a wine: style red | white | rose | sparkling | sweet, producer = winery, grapes, region, vintage year; any of them may be missing — use it to answer \"a Malbec from Mendoza\" and the like), add-ons (personalization_id, price) and pairs_well_with (item_ids of other dishes the restaurant suggests with this one — offer them once when the diner orders the dish, never push; may list a dish that is sold out or out of hours right now, check its own available_now). allergen_disclaimer is the restaurant's own notice about allergens and cross-contact (null if none). Pass `language` for a translated menu (the response says which language you got and which exist). Item ids are the same in every language. Use these ids with create_order. Dishes the restaurant no longer serves are not here: get_menu.discontinued lists them. Pass `avoid` when the diner says what they cannot eat: contains = the restaurant declares it in the dish; may_contain = declared as possible traces (cross-contact): a conflict too, not a detail; not_recorded = the restaurant has not recorded it for this dish: UNKNOWN, not absent; not_listed_in_declared = the restaurant reviewed the dish and it is not among what it declares, which is not a guarantee. None of these values means a dish is safe or free of an allergen, and a dish with no row is unknown. Health information: never tell the diner a dish is safe or free of anything, whatever the answer; pass on the note of each dish you mention (note_id, its text in avoid_notes), and tell them to confirm with the restaurant before ordering. Add-ons carry no allergen information. daily_menu_upcoming dishes carry no allergen information.",
"inputSchema": {
"properties": {
"avoid": {
"description": "What the diner must avoid: EU-14 allergen keys, or gluten_celiac for a coeliac (it also reads the Sin TACC mark). Not a filter: every dish still comes back, each with one answer per key. peanuts and tree_nuts are separate; shellfish needs crustaceans and molluscs; any other allergy has no key: send the diner to the restaurant.",
"items": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"type": "array"
},
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"language": {
"description": "Menu language: en | es | pt | fr. A language the restaurant does not offer falls back to its own language.",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"locale": {
"description": "Deprecated alias of `language`.",
"type": "string"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug"
],
"type": "object"
},
"name": "get_menu_structured",
"outputSchema": {
"properties": {
"allergen_disclaimer": {
"description": "The restaurant's notice about allergens and cross-contact, in this language",
"type": [
"string",
"null"
]
},
"available_languages": {
"items": {
"type": "string"
},
"type": "array"
},
"avoid_notes": {
"description": "Only with `avoid`: the text of each note_id. Tell the diner the note of the dishes you mention; translate it if needed, but do not soften it.",
"properties": {
"add_ons_not_recorded": {
"type": "string"
},
"contains": {
"type": "string"
},
"could_not_check": {
"type": "string"
},
"may_contain": {
"type": "string"
},
"not_listed_in_declared": {
"type": "string"
},
"not_marked_sin_tacc": {
"type": "string"
},
"not_recorded": {
"type": "string"
},
"sin_tacc_marked": {
"type": "string"
},
"sin_tacc_not_reviewed": {
"type": "string"
}
},
"required": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "object"
},
"categories": {
"items": {
"properties": {
"available_hours": {
"type": [
"string",
"null"
]
},
"available_now": {
"type": "boolean"
},
"available_windows": {
"type": [
"array",
"null"
]
},
"category": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"items": {
"items": {
"properties": {
"add_ons": {
"items": {
"properties": {
"available": {
"description": "false = ran out today, back tomorrow; create_order refuses it (addon_unavailable)",
"type": "boolean"
},
"name": {
"type": "string"
},
"personalization_id": {
"type": "integer"
},
"price": {
"type": "number"
}
},
"required": [
"personalization_id",
"name",
"price",
"available"
],
"type": "object"
},
"type": "array"
},
"allergens": {
"description": "EU-14 keys the dish contains",
"items": {
"type": "string"
},
"type": "array"
},
"allergens_reviewed_at": {
"description": "When the restaurant last checked this dish's allergens (ISO 8601); null = never checked",
"type": [
"string",
"null"
]
},
"allergens_status": {
"description": "declared = the dish contains or may contain the listed allergens (the list is confirmed complete only when allergens_reviewed_at is set); none_declared = the restaurant checked the dish and declared none of the EU-14 allergens; not_recorded = the allergens were never filled in: UNKNOWN, ask the restaurant. not_recorded is not \"free of\": never present a dish as free of an allergen unless it is explicitly marked (today only celiac_safe). none_declared is not a guarantee either (cross-contact): pass on the allergen notice.",
"enum": [
"declared",
"none_declared",
"not_recorded"
],
"type": "string"
},
"available": {
"type": "boolean"
},
"available_now": {
"type": "boolean"
},
"avoid_conflicts": {
"description": "Only with `avoid`: one answer per avoided key",
"items": {
"properties": {
"avoid": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"conflict": {
"description": "contains = the restaurant declares it in the dish; may_contain = declared as possible traces (cross-contact): a conflict too, not a detail; not_recorded = the restaurant has not recorded it for this dish: UNKNOWN, not absent; not_listed_in_declared = the restaurant reviewed the dish and it is not among what it declares, which is not a guarantee. None of these values means a dish is safe or free of an allergen, and a dish with no row is unknown.",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared"
],
"type": "string"
},
"note_id": {
"description": "Key of its text in avoid_notes",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "string"
}
},
"required": [
"avoid",
"conflict",
"note_id"
],
"type": "object"
},
"type": "array"
},
"calories": {
"description": "Kilocalories per serving as the restaurant states them (#31); null = not stated, never \"0 kcal\"",
"type": [
"integer",
"null"
]
},
"celiac_safe": {
"description": "Marked \"Sin TACC\" / coeliac-safe by the restaurant: gluten-free and prepared to avoid cross-contact",
"type": "boolean"
},
"combo_steps": {
"description": "Only on a combo or set meal (\"menú ejecutivo\"): price is the combo's, and the diner picks min to max options in each step (extra_price added). Pass the picked option_ids to create_order as combo_option_ids",
"items": {
"properties": {
"max": {
"type": "integer"
},
"min": {
"type": "integer"
},
"name": {
"type": "string"
},
"options": {
"items": {
"properties": {
"available": {
"description": "false = ran out; create_order refuses it (combo_option_unavailable)",
"type": "boolean"
},
"extra_price": {
"description": "Added to the combo price; 0 = included",
"type": "number"
},
"item_id": {
"description": "The dish this option is, when it is one of the menu",
"type": [
"integer",
"null"
]
},
"name": {
"type": "string"
},
"option_id": {
"type": "integer"
}
},
"required": [
"option_id",
"name",
"item_id",
"extra_price",
"available"
],
"type": "object"
},
"type": "array"
},
"step_id": {
"type": "integer"
}
},
"required": [
"step_id",
"name",
"min",
"max",
"options"
],
"type": "object"
},
"type": "array"
},
"compare_at_price": {
"type": [
"number",
"null"
]
},
"contains_alcohol": {
"description": "The restaurant marked the dish as containing alcohol (#350): a drink, or food made with it. false = not marked, never \"alcohol-free\": ask the restaurant before telling someone a dish has none. The staff may ask for ID when it is handed over.",
"type": "boolean"
},
"description": {
"type": [
"string",
"null"
]
},
"dietary_tags": {
"description": "Dietary tags the restaurant set on the dish: vegan, vegetarian, gluten_free, dairy_free, spicy, nuts, halal, kosher. dairy_free = no milk or dairy at all (not the same as lactose-free); halal and kosher = the restaurant says it holds the certification; gluten_free = the recipe has no gluten, NOT safe for coeliacs unless celiac_safe is true; nuts = contains nuts. A missing tag means nothing was declared, never the opposite. Never set halal or kosher from menu text or a photo; only when the owner confirms they hold the certificate. When writing: a list of strings, at most 20 tags of 40 characters (extra ones are dropped).",
"items": {
"type": "string"
},
"type": "array"
},
"house_says": {
"description": "What the restaurant itself says about a dish it recommends today (its own words, e.g. \"fresh from the port today\"); null = it says nothing. Not a rating.",
"type": [
"string",
"null"
]
},
"image_url": {
"type": [
"string",
"null"
]
},
"item_id": {
"type": "integer"
},
"main_ingredients": {
"description": "The main ingredients the restaurant declares for the dish (comma-separated, in the menu language). They may not be complete: never tell someone a dish is free of an ingredient from this list. null = not recorded or not published, never \"no ingredients\": ask_restaurant",
"type": [
"string",
"null"
]
},
"may_contain": {
"description": "EU-14 keys of possible traces (cross-contact); never repeats allergens",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"notice_days": {
"description": "Whole days ahead the dish must be ordered (0 = none); create_order refuses an earlier time with scheduled_not_accepted (reason too_soon, earliest_at)",
"maximum": 3,
"minimum": 0,
"type": "integer"
},
"orderable": {
"description": "now = create_order takes it for as soon as possible; later = only in an order scheduled for later; no = not orderable online right now (#344)",
"enum": [
"now",
"later",
"no"
],
"type": "string"
},
"orderable_from": {
"description": "orderable later: only \"not before this time\" (ISO 8601) for a dish sold out until then, not a time the order is sure to be taken; null = go by notice_days or the category hours",
"type": [
"string",
"null"
]
},
"orderable_reason": {
"description": "Why it is not orderable now; null when orderable is now. no_price = the menu states no price for it (#518): it is not ordered online. preorder = only for the category preorder delivery_dates (#370)",
"enum": [
"sold_out",
"notice",
"hours",
"set_menu",
"no_price",
"preorder",
null
],
"type": [
"string",
"null"
]
},
"pairs_well_with": {
"description": "item_ids the restaurant suggests with this dish (\"goes well with\")",
"items": {
"type": "integer"
},
"type": "array"
},
"presentations": {
"description": "Only on a dish sold in 2 to 5 sizes or servings with their own price (glass/bottle, unit/dozen, small/large). price is then the main one; pass the chosen presentation_id to create_order (without it, the main one)",
"items": {
"properties": {
"main": {
"type": "boolean"
},
"name": {
"type": "string"
},
"presentation_id": {
"type": "integer"
},
"price": {
"type": "number"
},
"regular_price": {
"type": [
"number",
"null"
]
}
},
"required": [
"presentation_id",
"name",
"price",
"regular_price",
"main"
],
"type": "object"
},
"type": "array"
},
"price": {
"type": [
"number",
"null"
]
},
"price_note": {
"type": [
"string",
"null"
]
},
"regular_price": {
"type": [
"number",
"null"
]
},
"sold_out_until": {
"type": [
"string",
"null"
]
},
"subtitle": {
"type": [
"string",
"null"
]
},
"url": {
"description": "The dish's own page (photo, price, allergens) to link or cite; with `branch`, the page at that branch (#298)",
"type": [
"string",
"null"
]
},
"wine": {
"description": "The wine's card when the dish is a wine (#572); null otherwise. Every field may be missing.",
"properties": {
"grapes": {
"description": "Grape varieties, as the restaurant wrote them",
"items": {
"type": "string"
},
"type": "array"
},
"producer": {
"description": "Winery",
"type": "string"
},
"region": {
"type": "string"
},
"style": {
"enum": [
"red",
"white",
"rose",
"sparkling",
"sweet"
],
"type": "string"
},
"vintage": {
"description": "Vintage year",
"type": "integer"
}
},
"type": [
"object",
"null"
]
}
},
"required": [
"item_id",
"name",
"price",
"available_now",
"available"
],
"type": "object"
},
"type": "array"
},
"orderable_online": {
"type": "boolean"
},
"preorder": {
"description": "#370 preorder (null for a regular category): its dishes only for one of delivery_dates (YYYY-MM-DD, restaurant clock), ordered before order_by (ISO 8601), in an order of their own",
"properties": {
"delivery_dates": {
"items": {
"type": "string"
},
"type": "array"
},
"order_by": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"set_menu_price": {
"type": [
"number",
"null"
]
}
},
"required": [
"category",
"available_now",
"items"
],
"type": "object"
},
"type": "array"
},
"currency": {
"type": "string"
},
"language": {
"type": "string"
},
"menu_updated_at": {
"description": "When dishes or prices last changed (ISO 8601); null = not recorded. Prefer fresh data over a cached copy older than this (#381)",
"type": [
"string",
"null"
]
},
"prices_valid_until": {
"description": "YYYY-MM-DD (the restaurant's calendar): the restaurant states its menu prices are valid until this day inclusive; null = it states no such date. Quote it as the restaurant's statement",
"type": [
"string",
"null"
]
},
"timezone": {
"type": [
"string",
"null"
]
}
},
"required": [
"language",
"available_languages",
"currency",
"categories"
],
"type": "object"
}
},
{
"description": "Current status of an order, looked up by order number + the email used to place it. Tell the diner the phase (the same words as the tracking page): awaiting_code = type the code we emailed; awaiting_payment = pay online on tracking_url; pay_expired = it can no longer be paid, order again (an unpaid online order is removed a day after it was placed); delivering = on its way. payment: online = paid / unpaid / refunded (a cancelled order can be paid and not refunded yet), null = pays another way. status is the raw staff status. missing_items: the restaurant ran out of something (a whole dish, or only the add-ons in its extras) and the diner has to choose on tracking_url (go on without it at total_without_missing, or cancel); removed_items: what they already went without; missing_refund: paid online, the money given back for them (sent / pending / by_hand = the restaurant gives it back itself).",
"inputSchema": {
"properties": {
"customer_email": {
"type": "string"
},
"order_number": {
"type": "string"
}
},
"required": [
"order_number",
"customer_email"
],
"type": "object"
},
"name": "get_order_status",
"outputSchema": {
"properties": {
"fulfillment": {
"enum": [
"dine_in",
"pickup",
"delivery"
],
"type": "string"
},
"missing_items": {
"description": "The restaurant ran out of these dishes and asks the diner: go on without them, or cancel the order. extras = only these add-ons of the dish ran out (the dish is made without them, at its price without them); empty = the whole dish. The diner answers on tracking_url (it is never answered here; the order is never cancelled by itself). Empty = nothing to answer",
"items": {
"properties": {
"extras": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": [
"name",
"quantity",
"extras"
],
"type": "object"
},
"type": "array"
},
"missing_refund": {
"anyOf": [
{
"properties": {
"amount": {
"type": "string"
},
"state": {
"enum": [
"sent",
"pending",
"by_hand"
],
"type": "string"
}
},
"required": [
"amount",
"state"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Paid online: the money given back for removed_items through the payment provider. sent = amount went back; pending = amount is on its way; by_hand = the restaurant gives amount back itself (what is still owed, after any part already sent). null = nothing to give back"
},
"order_number": {
"type": "string"
},
"payment": {
"description": "Paid online: unpaid / paid / refunded; null = pays another way",
"enum": [
"unpaid",
"paid",
"refunded",
null
],
"type": [
"string",
"null"
]
},
"phase": {
"description": "Where the order is in the diner's words, the same as the tracking page (#465)",
"enum": [
"awaiting_code",
"awaiting_payment",
"pay_expired",
"pending",
"preparing",
"ready",
"delivering",
"completed",
"cancelled"
],
"type": "string"
},
"pickup_number": {
"description": "The short number the restaurant calls out when a pickup order is ready (1, 2, 3... per location and local day, #588): tell it to the diner. null for a table or a delivery, until the order is confirmed (email code or online payment), once it is finished, and on older orders",
"type": [
"integer",
"null"
]
},
"placed_at": {
"type": "string"
},
"removed_items": {
"description": "Dishes the diner already went without; total no longer counts them",
"items": {
"properties": {
"name": {
"type": "string"
},
"quantity": {
"type": "integer"
}
},
"required": [
"name",
"quantity"
],
"type": "object"
},
"type": "array"
},
"status": {
"enum": [
"pending_verification",
"pending",
"preparing",
"ready",
"delivering",
"completed",
"cancelled"
],
"type": "string"
},
"status_updated_at": {
"type": [
"string",
"null"
]
},
"total": {
"description": "Decimal amount as a string with 2 decimals, e.g. \"14800.00\"",
"type": "string"
},
"total_without_missing": {
"description": "The total if the diner goes on without missing_items (same coupon, cover and delivery); null when nothing is missing",
"type": [
"string",
"null"
]
},
"tracking_url": {
"type": "string"
},
"transfer_discount": {
"anyOf": [
{
"properties": {
"amount": {
"description": "Decimal amount as a string with 2 decimals, e.g. \"14800.00\"",
"type": "string"
},
"percent": {
"description": "Percentage off the food",
"type": "integer"
}
},
"required": [
"percent",
"amount"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "The restaurant's discount for paying by bank transfer that this order was given, already inside total (and inside transfer.amount). null = none. It is lost, and the total goes back up, if the diner ends up paying another way"
}
},
"required": [
"order_number",
"pickup_number",
"status",
"phase",
"payment",
"fulfillment",
"total",
"placed_at",
"status_updated_at",
"tracking_url",
"missing_items",
"total_without_missing",
"removed_items",
"missing_refund"
],
"type": "object"
}
},
{
"description": "Look up a reservation by its confirmation code. allergy_plan (null = none declared) is the allergy the guest declared when booking and the kitchen's word on each dish they asked about: kitchen yes = the kitchen says it can make it without what they declared (say exactly that, repeating what they declared; never \"safe\" or \"suitable\", the guarantee is the restaurant's), no = it says it cannot, not_answered = no word yet. deposit (null = none) says whether the restaurant asked for a deposit, its status (waiting, reported, received, refunded, applied, kept, refunding, refund_failed), the amount, the method (transfer, or the provider: mercadopago or stripe) and, while it is still to pay, where to transfer it or payment_url to pay online (with refund_until, the last moment a cancel gives it back). Read only: only the restaurant marks a deposit received.",
"inputSchema": {
"properties": {
"confirmation_code": {
"type": "string"
}
},
"required": [
"confirmation_code"
],
"type": "object"
},
"name": "get_reservation",
"outputSchema": {
"properties": {
"allergy_plan": {
"properties": {
"allergens": {
"items": {
"type": "string"
},
"type": "array"
},
"dishes": {
"items": {
"properties": {
"item_id": {
"type": "integer"
},
"kitchen": {
"description": "yes = the kitchen says it can make it without what the guest declared; no = it says it cannot; not_answered = no word yet (never read it as yes)",
"enum": [
"yes",
"no",
"not_answered"
],
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"item_id",
"name",
"kitchen"
],
"type": "object"
},
"type": "array"
},
"note": {
"type": [
"string",
"null"
]
}
},
"required": [
"allergens",
"note",
"dishes"
],
"type": [
"object",
"null"
]
},
"customer_name": {
"type": "string"
},
"date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"deposit": {
"anyOf": [
{
"properties": {
"amount": {
"description": "The exact amount, frozen when the booking was made",
"type": "string"
},
"currency": {
"type": [
"string",
"null"
]
},
"method": {
"const": "transfer",
"type": "string"
},
"pay_by": {
"description": "ISO instant the restaurant asks to have it by; null = none set. Nothing is cancelled by itself after it: the restaurant decides",
"type": [
"string",
"null"
]
},
"policy": {
"description": "The restaurant's own words about returns and no-shows, as written; null = it wrote none. Never add to it",
"type": [
"string",
"null"
]
},
"status": {
"description": "waiting = still to pay; reported = the guest says they sent it (proves nothing); received = the restaurant saw the money; refunded / applied = the restaurant noted it gave it back / took it off the bill",
"enum": [
"waiting",
"reported",
"received",
"refunded",
"applied"
],
"type": "string"
},
"transfer": {
"anyOf": [
{
"properties": {
"account": {
"type": "string"
},
"concept": {
"description": "What to write as the transfer reference",
"type": "string"
},
"holder": {
"type": [
"string",
"null"
]
},
"kind": {
"enum": [
"alias",
"cbu",
"pix",
"clabe"
],
"type": "string"
}
},
"required": [
"account",
"kind",
"holder",
"concept"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "Where to send it, straight to the restaurant; null once received, or when the restaurant has to give the details itself"
}
},
"required": [
"status",
"amount",
"currency",
"method",
"pay_by",
"policy",
"transfer"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "#368: the deposit the restaurant asks to hold this booking; null = none (or, on create_reservation, not past the code yet: see deposit_amount). The guest pays the restaurant directly; only the restaurant marks it received"
},
"manage_url": {
"type": "string"
},
"notes": {
"type": [
"string",
"null"
]
},
"party_size": {
"type": "integer"
},
"restaurant": {
"type": "string"
},
"status": {
"enum": [
"pending_verification",
"pending",
"confirmed",
"cancelled",
"completed",
"no_show"
],
"type": "string"
},
"time": {
"description": "HH:MM, restaurant local time",
"type": "string"
}
},
"required": [
"restaurant",
"status",
"customer_name",
"party_size",
"date",
"time",
"notes",
"manage_url",
"deposit",
"allergy_plan"
],
"type": "object"
}
},
{
"description": "Everything about a restaurant on MenuNode except the dishes (but group_menus: its set menus offered to groups, priced by quote_group): locations (a restaurant may have several, each with its own branch slug, address and menu_url; pass `branch` to this and the other tools for one of them, omit it for the main one), description, cuisine, price range, currency, address, phone/WhatsApp/email/website/socials, opening hours and whether it is open right now (holiday closures and special hours included), special_hours: date exceptions for the next 14 days (closed days and special schedules, with a label such as \"Christmas Day\"), and whether it accepts online orders and reservations (and how: dine-in/pickup/delivery, payment methods), and menu_languages: the languages the menu can be read in (the restaurant's own first; pass one as `language` to get_menu), and price_band: dish prices worked out from today's menu at this location (half of the dishes cost between p25 and p75, and the most expensive section with its median; not a price per person; null with fewer than 6 priced dishes), and faq: the restaurant's own answers to questions people asked (ask_restaurant forwards a new one while takes_questions is true), and quiet_hours: the quiet hour the restaurant itself declares (no music, low light) by weekday and time, with the days it suspended (bookable times inside it come back quiet: true from list_available_slots / check_availability; MenuNode does not check it, so say it is declared by the restaurant). amenities: what the restaurant says the place has (accessible_entrance, accessible_restroom: wheelchair access; kids: good for kids, high chairs; pets; parking; outdoor_seating), true or false; a missing key means it did not answer, never assume no. payment_at_place: how it says people can pay at the place or on receipt (cash, debit_card, credit_card, qr: Mercado Pago, MODO or wallets, bank_transfer, pix), same rule; ordering.payment_methods is what an order placed here accepts. payment_benefits: benefits of a bank or payment app the restaurant declares for paying at the place on some weekdays, until a date (also_online: also for an online order); pass on its text as written, it says they are subject to the issuer's terms. Fields are null, not omitted, when unset.",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug"
],
"type": "object"
},
"name": "get_restaurant_info",
"outputSchema": {
"properties": {
"address": {
"properties": {
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"formatted": {
"type": [
"string",
"null"
]
},
"google_maps_url": {
"type": [
"string",
"null"
]
},
"latitude": {
"type": [
"string",
"number",
"null"
]
},
"locality": {
"type": [
"string",
"null"
]
},
"longitude": {
"type": [
"string",
"number",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"street_address": {
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
},
"amenities": {
"description": "What the restaurant says the place has, true / false per answer given (wheelchair-accessible entrance and restroom, good for kids with high chairs, pets, parking, outdoor seating). Declared, not checked. null = none answered.",
"properties": {
"accessible_entrance": {
"type": "boolean"
},
"accessible_restroom": {
"type": "boolean"
},
"kids": {
"type": "boolean"
},
"outdoor_seating": {
"type": "boolean"
},
"parking": {
"type": "boolean"
},
"pets": {
"type": "boolean"
}
},
"required": [],
"type": [
"object",
"null"
]
},
"branch": {
"description": "The location these details are for; null = the main location",
"type": [
"string",
"null"
]
},
"contact": {
"properties": {
"email": {
"type": [
"string",
"null"
]
},
"facebook": {
"type": [
"string",
"null"
]
},
"instagram": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"tiktok": {
"type": [
"string",
"null"
]
},
"website": {
"type": [
"string",
"null"
]
},
"whatsapp": {
"type": [
"string",
"null"
]
}
},
"required": [],
"type": "object"
},
"cuisine_type": {
"type": [
"string",
"null"
]
},
"currency": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"events_inquiries": {
"description": "#27: whether this location takes event and large-group inquiries (send_event_inquiry, or its /events page). Nothing is booked by an inquiry.",
"type": "boolean"
},
"faq": {
"description": "The restaurant's own answers to questions people (or their AI assistants) asked through ask_restaurant, or that it added itself (#482). Quote them as the restaurant's words.",
"items": {
"properties": {
"answer": {
"type": "string"
},
"answered_at": {
"description": "ISO time it was answered",
"type": [
"string",
"null"
]
},
"question": {
"type": "string"
}
},
"required": [
"question",
"answer"
],
"type": "object"
},
"type": "array"
},
"group_menus": {
"description": "#481: the restaurant's set menus offered to groups (birthdays, company dinners), in its own language. quote_group prices one for a party size: price_per_person x party_size, nothing else. Empty = none: ask the restaurant (contact) for a group quote, never make up a price.",
"items": {
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"extras": {
"description": "Dishes with a price of their own inside the menu: optional supplements per person, never in the total",
"items": {
"properties": {
"name": {
"type": "string"
},
"price": {
"type": "number"
}
},
"required": [
"name",
"price"
],
"type": "object"
},
"type": "array"
},
"includes": {
"description": "The dishes of the menu",
"items": {
"type": "string"
},
"type": "array"
},
"menu_id": {
"description": "Pass as quote_group.menu_id",
"type": "integer"
},
"name": {
"type": "string"
},
"notice_days": {
"description": "Whole days ahead it must be booked; 0 = none",
"type": "integer"
},
"party_size_max": {
"description": "Largest group; null = no upper limit",
"type": [
"integer",
"null"
]
},
"party_size_min": {
"description": "Smallest group it is offered to",
"type": "integer"
},
"price_per_person": {
"description": "The restaurant's own set price per person, in currency",
"type": "number"
},
"served_hours": {
"description": "When the menu is served, if it has hours of its own (restaurant-local time); null = whenever the restaurant is open",
"type": [
"string",
"null"
]
}
},
"required": [
"menu_id",
"name",
"description",
"price_per_person",
"party_size_min",
"party_size_max",
"notice_days",
"includes",
"extras",
"served_hours"
],
"type": "object"
},
"type": "array"
},
"happenings": {
"description": "What the restaurant says is on at the place on a date and time (a match on TV, live music, a tasting night), in its own words, from its today on, soonest first. Answers \"are you showing the match on Saturday?\". A table for it is the normal booking (check_availability for that date) made with create_reservation and happening_id = its id; some have a capacity of people of their own on top of the tables (spots_left). Empty = nothing declared: do not guess.",
"items": {
"properties": {
"capacity": {
"description": "People it takes, counted on the bookings made for it; null = no limit of its own (only the tables)",
"type": [
"integer",
"null"
]
},
"date": {
"description": "YYYY-MM-DD, restaurant local date",
"type": "string"
},
"full": {
"description": "true = no room left for it: do not offer a booking for it",
"type": "boolean"
},
"id": {
"description": "Pass as create_reservation.happening_id to book a table for it (same date)",
"type": "string"
},
"note": {
"description": "A short extra line the restaurant wrote; null = none",
"type": [
"string",
"null"
]
},
"reserve_url": {
"description": "The booking page opened on that day for it, when the restaurant takes bookings for it and it has room (add &party=N to open it on that time too); null = no booking for it (walk in, ask the restaurant, or it is full: see full)",
"type": [
"string",
"null"
]
},
"spots_left": {
"description": "People still free for it right now; null = no limit of its own. A larger party fails with happening_full",
"type": [
"integer",
"null"
]
},
"text": {
"description": "The one sentence to tell the diner, in the restaurant language",
"type": "string"
},
"time": {
"description": "HH:MM (24 h), restaurant local time it starts",
"type": "string"
},
"title": {
"description": "What is on, as the restaurant wrote it",
"type": "string"
}
},
"required": [
"id",
"text",
"title",
"date",
"time",
"note",
"reserve_url",
"capacity",
"spots_left",
"full"
],
"type": "object"
},
"type": "array"
},
"is_demo": {
"description": "An example restaurant from MenuNode's showcase, not a real business: no address or contact, and orders / reservations / waitlist sign-ups are not created",
"type": "boolean"
},
"kitchen_hours": {
"description": "When food is served, if the kitchen closes before the place on some day (the last shift ends at the kitchen time); null = until the place closes. special_hours replace it on their dates. Information only: ordering follows its own hours.",
"items": {
"properties": {
"days": {
"items": {
"type": "string"
},
"type": "array"
},
"shifts": {
"items": {
"properties": {
"close": {
"type": "string"
},
"open": {
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"days",
"shifts"
],
"type": "object"
},
"type": [
"array",
"null"
]
},
"kitchen_open_now": {
"description": "The kitchen is cooking right now (special_hours included); null when kitchen_hours is null.",
"type": [
"boolean",
"null"
]
},
"local_time": {
"properties": {
"dateKey": {
"type": "string"
},
"minutes": {
"type": "integer"
},
"weekday": {
"type": "integer"
}
},
"required": [],
"type": "object"
},
"locations": {
"description": "Every location of the restaurant, main first (branch null). Pass `branch` to read or book one of the others.",
"items": {
"properties": {
"address": {
"type": [
"string",
"null"
]
},
"branch": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"menu_url": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"branch",
"name",
"address",
"city",
"menu_url"
],
"type": "object"
},
"type": "array"
},
"menu_languages": {
"description": "The restaurant's own language first",
"items": {
"type": "string"
},
"type": "array"
},
"menu_url": {
"type": "string"
},
"name": {
"description": "For a branch: \"Restaurant – Branch\"",
"type": "string"
},
"next_change": {
"description": "When open: closing time; when closed: next opening time (HH:MM, local)",
"type": [
"string",
"null"
]
},
"open_now": {
"type": [
"boolean",
"null"
]
},
"opening_hours": {
"items": {
"properties": {
"days": {
"items": {
"type": "string"
},
"type": "array"
},
"shifts": {
"items": {
"properties": {
"close": {
"type": "string"
},
"open": {
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"days",
"shifts"
],
"type": "object"
},
"type": [
"array",
"null"
]
},
"ordering": {
"properties": {
"accepting_now": {
"description": "create_order takes an order for as soon as possible right now",
"type": "boolean"
},
"adult_confirmation_required": {
"description": "true = an order with a dish marked contains_alcohol needs create_order adult_confirmed true: ask the diner whether they are 18 or older first, never assume it (#350)",
"type": "boolean"
},
"alcohol_hours_blocked": {
"description": "null = none. Otherwise from-to (HH:MM, restaurant clock, may cross midnight) when dishes marked contains_alcohol cannot be ordered: create_order fails with alcohol_hours (#350)",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"type": [
"object",
"null"
]
},
"cart_link_format": {
"description": "How order_url takes a filled-in cart (?repeat= and &type=); prepare_order_link builds and checks it (#460)",
"type": "string"
},
"delivery_fee": {
"type": [
"number",
"null"
]
},
"delivery_minimum": {
"type": [
"number",
"null"
]
},
"delivery_note": {
"type": [
"string",
"null"
]
},
"delivery_zones": {
"description": "Delivery priced by zone (distance rings or drawn areas): the fee depends on the address and create_order computes it. null = flat delivery_fee.",
"properties": {
"max_distance": {
"description": "Radius mode: farthest straight-line distance delivered to",
"type": [
"number",
"null"
]
},
"mode": {
"enum": [
"radius",
"polygon"
],
"type": "string"
},
"unit": {
"enum": [
"km",
"mi"
],
"type": "string"
},
"zones": {
"items": {
"properties": {
"extra_minutes": {
"type": "number"
},
"fee": {
"type": "number"
},
"free_from": {
"description": "Food subtotal from which delivery is free",
"type": [
"number",
"null"
]
},
"from": {
"type": [
"number",
"null"
]
},
"minimum": {
"type": "number"
},
"name": {
"type": "string"
},
"up_to": {
"type": [
"number",
"null"
]
}
},
"required": [
"name",
"fee",
"minimum",
"extra_minutes"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"mode",
"unit",
"zones"
],
"type": [
"object",
"null"
]
},
"email_verification_required": {
"type": "boolean"
},
"enabled": {
"type": "boolean"
},
"extra_prep_minutes": {
"description": "Busy-mode delay already included in prep_time_minutes",
"type": "number"
},
"far_order_km": {
"description": "null = off. Otherwise pickup/delivery orders that may come from further than this many km (or with no way to tell, for right now) fail with requires_confirmation until the diner confirms: ask them, then send far_order_confirmed true",
"type": [
"integer",
"null"
]
},
"fulfillment_options": {
"items": {
"type": "string"
},
"type": "array"
},
"max_days_ahead": {
"description": "How many days ahead scheduled_for may be (null when asap_only)",
"type": [
"integer",
"null"
]
},
"order_hours": {
"description": "When online orders (pickup and delivery) are taken, if not the opening hours; null = the same as opening_hours. Holiday closures in special_hours close orders too.",
"items": {
"properties": {
"days": {
"items": {
"type": "string"
},
"type": "array"
},
"shifts": {
"items": {
"properties": {
"close": {
"type": "string"
},
"open": {
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"days",
"shifts"
],
"type": "object"
},
"type": [
"array",
"null"
]
},
"order_url": {
"type": "string"
},
"orders_until": {
"description": "Last time (HH:MM, local) an order for as soon as possible is taken in the shift open now: closing time minus the prep time, so it is ready before closing. null when closed, without hours or when orders are taken while closed. Scheduled orders are not cut.",
"type": [
"string",
"null"
]
},
"orders_until_at": {
"description": "orders_until as an ISO time",
"type": [
"string",
"null"
]
},
"paused": {
"description": "The kitchen paused online orders for a while (busy). Reservations are not affected.",
"type": "boolean"
},
"payment_methods": {
"description": "The ways an order placed through this server can be paid (create_order payment_method). Empty = this location only takes online payment, which the diner makes on order_url: send them there.",
"items": {
"type": "string"
},
"type": "array"
},
"prep_time_minutes": {
"type": [
"number",
"null"
]
},
"resume_at": {
"description": "ISO time online orders come back when paused, else null",
"type": [
"string",
"null"
]
},
"scheduled_only": {
"description": "Not for right now (closed, or past orders_until), but create_order takes one with a later scheduled_for",
"type": "boolean"
},
"scheduling": {
"description": "asap_only: only orders for as soon as possible; asap_and_scheduled: scheduled_for may be a later time too",
"enum": [
"asap_only",
"asap_and_scheduled"
],
"type": "string"
},
"transfer_discount_percent": {
"description": "null = none. Otherwise the restaurant takes this percentage off the food of a pickup or delivery order paid by bank transfer (create_order payment_method transfer). Never for another way of paying, never eating at the restaurant, and never together with a coupon (with coupon_code the coupon counts and this does not). create_order computes it: read total and transfer_discount there; do not compute it yourself",
"type": [
"integer",
"null"
]
}
},
"required": [
"enabled",
"order_url"
],
"type": "object"
},
"payment_at_place": {
"description": "How the restaurant says people can pay at the place or on receipt, true / false per answer given (qr = Mercado Pago, MODO or wallets). Not the ways to pay an order placed here: see ordering.payment_methods. null = none answered.",
"properties": {
"bank_transfer": {
"type": "boolean"
},
"cash": {
"type": "boolean"
},
"credit_card": {
"type": "boolean"
},
"debit_card": {
"type": "boolean"
},
"pix": {
"type": "boolean"
},
"qr": {
"type": "boolean"
}
},
"required": [],
"type": [
"object",
"null"
]
},
"payment_benefits": {
"description": "Benefits of a bank or payment app the restaurant says apply when paying at the place on some weekdays (e.g. cash back), in its own words. Subject to the issuer's terms: always pass on `text` as written, which says so. Empty = none declared.",
"items": {
"properties": {
"also_online": {
"description": "Also for an order placed online here",
"type": "boolean"
},
"benefit": {
"description": "What it gives, as the restaurant wrote it",
"type": "string"
},
"days": {
"description": "Weekdays it applies (Sun … Sat)",
"items": {
"type": "string"
},
"type": "array"
},
"method": {
"description": "The bank or payment app, as the restaurant wrote it",
"type": "string"
},
"text": {
"description": "The one sentence to tell the diner, in the restaurant language, ending with \"subject to the issuer's terms\"",
"type": "string"
},
"until": {
"description": "Last day it applies (YYYY-MM-DD, restaurant local date)",
"type": "string"
}
},
"required": [
"text",
"method",
"benefit",
"days",
"until",
"also_online"
],
"type": "object"
},
"type": "array"
},
"price_band": {
"description": "#612: dish prices worked out from today's public menu at this location (regular prices, dishes priced 0 and set menus left out). Not a price per person and not what a meal costs: drinks and sides count as dishes too. null when fewer than 6 dishes have a price.",
"properties": {
"as_of": {
"description": "YYYY-MM-DD on the restaurant's clock",
"type": "string"
},
"currency": {
"type": "string"
},
"dishes_counted": {
"type": "integer"
},
"p25": {
"description": "Half of the dishes cost between p25 and p75; both null when prices are too spread out (p75 more than 4 x p25)",
"type": [
"number",
"null"
]
},
"p75": {
"type": [
"number",
"null"
]
},
"top_section": {
"description": "The menu section with the highest median dish price (at least 4 priced dishes): its name and that median",
"properties": {
"median": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"median"
],
"type": [
"object",
"null"
]
}
},
"required": [
"currency",
"p25",
"p75",
"top_section",
"dishes_counted",
"as_of"
],
"type": [
"object",
"null"
]
},
"price_range": {
"type": [
"string",
"null"
]
},
"prices_valid_until": {
"description": "YYYY-MM-DD (the restaurant's calendar): the restaurant states its menu prices are valid until this day inclusive; null = it states no such date. Quote it as the restaurant's statement",
"type": [
"string",
"null"
]
},
"quiet_hours": {
"description": "#529: the quiet hour the restaurant itself declares (no music, low light), by weekday and time. MenuNode does not check it: say it is declared by the restaurant. Bookable times fully inside it come back quiet: true from list_available_slots / check_availability. Empty = none declared.",
"items": {
"properties": {
"days": {
"description": "Weekdays it starts on (Sun … Sat)",
"items": {
"type": "string"
},
"type": "array"
},
"declared_by": {
"enum": [
"restaurant"
],
"type": "string"
},
"features": {
"items": {
"enum": [
"no_music",
"low_light"
],
"type": "string"
},
"type": "array"
},
"from": {
"type": "string"
},
"suspended_dates": {
"description": "Upcoming days (YYYY-MM-DD) the restaurant suspended it: those days it does not apply",
"items": {
"type": "string"
},
"type": "array"
},
"to": {
"description": "HH:MM; earlier than from = it ends after midnight",
"type": "string"
}
},
"required": [
"days",
"from",
"to",
"features",
"declared_by",
"suspended_dates"
],
"type": "object"
},
"type": "array"
},
"reservations": {
"properties": {
"advance_booking_days": {
"type": [
"integer",
"null"
]
},
"auto_confirm": {
"type": [
"boolean",
"null"
]
},
"enabled": {
"type": "boolean"
},
"guest_notes": {
"type": [
"string",
"null"
]
},
"min_notice_minutes": {
"type": [
"integer",
"null"
]
},
"party_size_max": {
"type": [
"integer",
"null"
]
},
"party_size_min": {
"type": [
"integer",
"null"
]
},
"reserve_url": {
"type": "string"
}
},
"required": [
"enabled",
"reserve_url"
],
"type": "object"
},
"slug": {
"type": "string"
},
"special_hours": {
"items": {
"properties": {
"closed": {
"type": "boolean"
},
"date": {
"type": "string"
},
"intervals": {
"items": {
"properties": {
"close": {
"type": "string"
},
"open": {
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
"type": "array"
},
"label": {
"type": [
"string",
"null"
]
},
"label_en": {
"type": [
"string",
"null"
]
}
},
"required": [
"date",
"closed"
],
"type": "object"
},
"type": "array"
},
"takes_questions": {
"description": "ask_restaurant passes a question not answered in faq to the restaurant right now (it answers within 24 h)",
"type": "boolean"
},
"timezone": {
"type": [
"string",
"null"
]
},
"today_exception": {
"properties": {
"closed": {
"type": "boolean"
},
"intervals": {
"items": {
"properties": {
"close": {
"type": "string"
},
"open": {
"type": "string"
}
},
"required": [
"open",
"close"
],
"type": "object"
},
"type": "array"
},
"label": {
"type": [
"string",
"null"
]
}
},
"required": [],
"type": [
"object",
"null"
]
}
},
"required": [
"name",
"slug",
"menu_url",
"menu_languages",
"open_now",
"ordering",
"reservations"
],
"type": "object"
}
},
{
"description": "A guest's current place in the walk-in line: status (waiting | notified = table ready, go to the host | seated | closed), position, groups ahead, estimated wait and the table once assigned. Needs the tracking token or tracking_url from confirm_waitlist.",
"inputSchema": {
"properties": {
"tracking_token": {
"description": "Token or the full tracking_url",
"type": "string"
}
},
"required": [
"tracking_token"
],
"type": "object"
},
"name": "get_waitlist_position",
"outputSchema": {
"properties": {
"estimated_wait_minutes": {
"type": [
"integer",
"null"
]
},
"groups_ahead": {
"type": [
"integer",
"null"
]
},
"joined_at": {
"type": "string"
},
"notified_at": {
"type": [
"string",
"null"
]
},
"party_size": {
"type": "integer"
},
"position": {
"type": [
"integer",
"null"
]
},
"status": {
"description": "notified = the table is ready, go to the host",
"enum": [
"waiting",
"notified",
"seated",
"closed"
],
"type": "string"
},
"table": {
"type": [
"string",
"null"
]
},
"tracking_url": {
"type": "string"
}
},
"required": [
"status",
"party_size",
"position",
"groups_ahead",
"estimated_wait_minutes",
"joined_at",
"tracking_url"
],
"type": "object"
}
},
{
"description": "How long is the walk-in line at a restaurant right now: groups waiting and the estimated wait for a group joining now (position × the restaurant's minutes per group, rounded to 5 — an estimate, not a promise). Only restaurants that offer online waitlist sign-up report this; otherwise online_sign_up_enabled is false, no line data is returned, declared_wait carries what the restaurant itself reported in the last 30 minutes (quote it with its time, never as a live fact; null = it reported nothing) and contact says how to ask it. No personal data of other guests. join_url is the public page where the guest can sign up themselves; join_waitlist does the same from here (email code required).",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch). Omit for the main location. Each location has its own line.",
"type": "string"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug"
],
"type": "object"
},
"name": "get_waitlist_status",
"outputSchema": {
"properties": {
"accepting_sign_ups_now": {
"description": "Enabled AND the restaurant is open right now",
"type": "boolean"
},
"contact": {
"description": "How to ask the restaurant; null when the online list answers",
"properties": {
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"whatsapp": {
"type": [
"string",
"null"
]
}
},
"required": [
"phone",
"whatsapp",
"email"
],
"type": [
"object",
"null"
]
},
"declared_wait": {
"description": "#515: the wait the restaurant itself reported (no online list). What it said at that time, not a live count; null = nothing reported or it lapsed",
"properties": {
"declared_at": {
"description": "ISO 8601 instant the restaurant said it",
"type": "string"
},
"declared_time_local": {
"description": "HH:MM on the restaurant's clock; always quote it with the wait",
"type": "string"
},
"expires_at": {
"description": "ISO 8601 instant, 30 minutes later; past it this field is null",
"type": "string"
},
"range": {
"enum": [
"no_wait",
"about_15",
"30_or_more"
],
"type": "string"
}
},
"required": [
"range",
"declared_at",
"expires_at",
"declared_time_local"
],
"type": [
"object",
"null"
]
},
"estimated_wait_minutes": {
"description": "Suggested wait for a group joining now, rounded to 5 minutes; an estimate, not a promise",
"type": [
"integer",
"null"
]
},
"groups_waiting": {
"description": "Groups in line right now (null when online sign-up is off)",
"type": [
"integer",
"null"
]
},
"join_url": {
"description": "Public page where the guest signs up themselves",
"type": [
"string",
"null"
]
},
"max_party_size": {
"type": [
"integer",
"null"
]
},
"message": {
"type": "string"
},
"online_sign_up_enabled": {
"type": "boolean"
},
"restaurant": {
"type": "string"
}
},
"required": [
"restaurant",
"online_sign_up_enabled",
"accepting_sign_ups_now",
"groups_waiting",
"estimated_wait_minutes",
"join_url",
"declared_wait",
"contact",
"message"
],
"type": "object"
}
},
{
"description": "Start a walk-in waitlist sign-up for a guest (only when get_waitlist_status says accepting_sign_ups_now). Requires the guest's name, party size (max 20) and email; phone and notes optional. This does NOT put them in line yet: a 6-digit code is emailed to the guest; ask them for it and call confirm_waitlist. If the code email cannot be sent the call fails with code_not_sent and nothing is saved: tell the guest to try again in a few minutes or call the restaurant. An address that cannot receive mail (a made-up or reserved domain) fails with invalid_email and nothing is saved: ask for a real one. Their place counts from that confirmation. Only do this at the guest's explicit request, with their own email. If you prefer, send them get_waitlist_status.join_url instead.",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch). Omit for the main location. Each location has its own line.",
"type": "string"
},
"customer_email": {
"type": "string"
},
"customer_name": {
"type": "string"
},
"customer_phone": {
"type": "string"
},
"language": {
"description": "Language of the verification email and tracking page (default: the restaurant's language)",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"notes": {
"description": "e.g. \"high chair\", \"outside table\" (max 200 characters)",
"type": "string"
},
"party_size": {
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"customer_name",
"party_size",
"customer_email"
],
"type": "object"
},
"name": "join_waitlist",
"outputSchema": {
"properties": {
"entry_id": {
"type": "integer"
},
"in_line": {
"const": false,
"description": "Not in line until confirm_waitlist verifies the code",
"type": "boolean"
},
"message": {
"type": "string"
},
"verification_required": {
"const": true,
"type": "boolean"
}
},
"required": [
"entry_id",
"verification_required",
"in_line",
"message"
],
"type": "object"
}
},
{
"description": "Take the guest off the walk-in line (\"we are not coming anymore\"). Needs the tracking token or tracking_url. Only at the guest's request; cannot be undone by the guest.",
"inputSchema": {
"properties": {
"tracking_token": {
"description": "Token or the full tracking_url",
"type": "string"
}
},
"required": [
"tracking_token"
],
"type": "object"
},
"name": "leave_waitlist",
"outputSchema": {
"properties": {
"cancelled": {
"const": true,
"type": "boolean"
}
},
"required": [
"cancelled"
],
"type": "object"
}
},
{
"description": "Reservation time slots for a date (YYYY-MM-DD) and party size, each marked available or not (with a reason), and quiet: true when the whole table time falls in the quiet hour the restaurant declares (get_restaurant_info.quiet_hours; declared by the restaurant, not checked by MenuNode). Also returns closed_reason / special_label for a closed day and the booking rules (booking_rules). tables_pickable: true where the restaurant lets the guest pick a table or a zone (check_availability lists the free ones for a time). camelCase duplicates (partySize, closedReason, specialLabel, settings) are deprecated.",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"date": {
"description": "YYYY-MM-DD",
"type": "string"
},
"party_size": {
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"date",
"party_size"
],
"type": "object"
},
"name": "list_available_slots",
"outputSchema": {
"properties": {
"available_times": {
"items": {
"type": "string"
},
"type": "array"
},
"booking_rules": {
"properties": {
"advance_booking_days": {
"type": "integer"
},
"auto_confirm": {
"type": "boolean"
},
"guest_notes": {
"type": [
"string",
"null"
]
},
"max_party_size": {
"type": "integer"
},
"min_notice_minutes": {
"type": "integer"
},
"min_party_size": {
"type": "integer"
}
},
"required": [],
"type": "object"
},
"closedReason": {
"type": [
"string",
"null"
]
},
"closed_reason": {
"type": [
"string",
"null"
]
},
"date": {
"type": "string"
},
"open": {
"description": "False when the whole day is closed for bookings (see closed_reason)",
"type": "boolean"
},
"partySize": {
"description": "Deprecated: use party_size",
"type": "integer"
},
"party_size": {
"type": "integer"
},
"reservations_enabled": {
"description": "Whether create_reservation is open for this restaurant",
"type": "boolean"
},
"seating": {
"properties": {
"asked": {
"description": "True: the restaurant asks guests \"inside or outside?\" for that date, and create_reservation keeps a seating_preference. A preference only: no table or area is held",
"type": "boolean"
},
"outside_closed": {
"description": "True: the restaurant closed its outside area that day (weather), so nobody is asked; a guest who wants outside should pick another day or call",
"type": "boolean"
}
},
"required": [
"asked",
"outside_closed"
],
"type": "object"
},
"settings": {
"properties": {
"advanceBookingDays": {
"type": "integer"
},
"autoConfirm": {
"type": "boolean"
},
"guestNotes": {
"type": [
"string",
"null"
]
},
"maxPartySize": {
"type": "integer"
},
"minNoticeMinutes": {
"type": "integer"
},
"minPartySize": {
"type": "integer"
}
},
"required": [],
"type": "object"
},
"slots": {
"items": {
"properties": {
"available": {
"type": "boolean"
},
"few": {
"description": "#697: present (true) when this party would take the last covers or the last table of that time (few places left)",
"type": "boolean"
},
"quiet": {
"description": "#529: present (true) when the whole table time falls in the restaurant's declared quiet hour (get_restaurant_info.quiet_hours)",
"type": "boolean"
},
"reason": {
"enum": [
"full",
"notice",
"past"
],
"type": "string"
},
"time": {
"type": "string"
}
},
"required": [
"time",
"available"
],
"type": "object"
},
"type": "array"
},
"specialLabel": {
"type": [
"string",
"null"
]
},
"special_label": {
"type": [
"string",
"null"
]
},
"tables_pickable": {
"description": "#697 I3: the guest may pick a table or a zone (check_availability lists the free ones for a time)",
"type": "boolean"
}
},
"required": [
"date",
"party_size",
"open",
"slots",
"reservations_enabled",
"available_times",
"seating",
"tables_pickable"
],
"type": "object"
}
},
{
"description": "Check a cart against today's menu and get a link to the restaurant's own order page with those dishes already in the cart (and pickup / delivery / dine-in already chosen when you pass fulfillment).The diner opens it, checks it and fills in their contact, pickup or delivery details and payment there. Nothing is ordered, saved or charged by this call and no personal data goes in, except avoid, which is not kept. Use it when you cannot verify the diner (emailed code) or pay for them; create_order is for placing the order yourself. Same lines as create_order: item_id from get_menu_structured, quantity, personalization_ids. Returns order_url (give it to the diner as is), estimated_total (the food at today's prices in `currency`; cover charge, delivery fee and coupons are added on the page), left_out (dishes that would not go in and why: not_on_menu, addon_unavailable, sold_out, notice = must be ordered days ahead, hours = not served right now, set_menu, preorder = only for set delivery dates (get_menu_structured category preorder; create_order scheduled on one of them, apart from other dishes), limit_reached with `left` = how many can still be ordered when known; absent for an online daily quota; combo = a combo or set meal sent without valid combo_option_ids (a step not answered, an option that ran out or is gone): send the option_ids from get_menu_structured combo_steps, or the diner picks on the page), accepting_now (an order for as soon as possible is taken right now) and scheduled_only (only an order for a later time is taken right now; the page offers it). Dishes are checked for right now, sections with their own hours (breakfast, lunch) included: a dish outside its section's hours is left out with hours even if the diner wants it later. The order_url has no language unless you pass `language` (the page then opens in the diner's own). Prices and availability are confirmed on the page. Fails with commerce_disabled where the restaurant takes no online orders (plan_required with its phone when it takes them by phone only). Pass `avoid` when the diner says what they cannot eat, through prepare_order_link or get_menu_structured before create_order: a create_order that needs no emailed code is already placed when it answers. Health information: never tell the diner a dish is safe or free of anything, whatever the answer; pass on the note of each line (note_id and add_ons_note_id, the text in avoid_notes) and tell them to confirm with the restaurant. Add-ons carry no allergen information. The kitchen does NOT receive avoid: only the `allergy` of create_order, sent with allergy_consent true, reaches it.",
"inputSchema": {
"properties": {
"avoid": {
"description": "What the diner must avoid, the same keys as get_menu_structured's avoid. Send it only if the diner said so. A warning for the diner, never refused: every line gets one answer per key (avoid_conflicts) and the order or the link stays as it is. peanuts and tree_nuts are separate; shellfish needs crustaceans and molluscs; any other allergy has no key: send the diner to the restaurant. Not put in the link and not saved, so the kitchen does NOT receive it: the diner answers the allergy question on the page or calls the restaurant.",
"items": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"type": "array"
},
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"fulfillment": {
"description": "Preselect pickup, delivery or dine_in on the page (one of get_restaurant_info.ordering.fulfillment_options). Omit to let the diner choose; they can change it on the page.",
"enum": [
"dine_in",
"pickup",
"delivery"
],
"type": "string"
},
"items": {
"items": {
"properties": {
"combo_option_ids": {
"description": "Only for a combo (combo_steps in get_menu_structured): the option_ids the diner picked, as in create_order. Checked the same way; when they are not valid right now the combo is in left_out (reason combo) and never gets another option",
"items": {
"minimum": 1,
"type": "integer"
},
"maxItems": 32,
"type": "array"
},
"item_id": {
"minimum": 1,
"type": "integer"
},
"personalization_ids": {
"items": {
"type": "integer"
},
"maxItems": 20,
"type": "array"
},
"presentation_id": {
"description": "Only for a dish with presentations: the one chosen (omitted = the main one; one no longer offered goes in as the main one, said in note)",
"minimum": 1,
"type": "integer"
},
"quantity": {
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [
"item_id",
"quantity"
],
"type": "object"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
"language": {
"description": "Menu language: en | es | pt | fr. A language the restaurant does not offer falls back to its own language.",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"items"
],
"type": "object"
},
"name": "prepare_order_link",
"outputSchema": {
"properties": {
"accepting_now": {
"description": "An order for as soon as possible is taken right now (the verdict create_order applies, #452)",
"type": "boolean"
},
"avoid_conflicts": {
"description": "Only with `avoid`: one row per line, in the order of the lines; a line left out is not here. For the diner: it warns, never refuses, and the kitchen does NOT receive it. note_id could_not_check = the dish could not be read just now, not that the restaurant left it blank",
"items": {
"properties": {
"add_ons_note_id": {
"description": "Present when the line has add-ons: they carry no allergen information. Tell the diner this note too (text in avoid_notes)",
"enum": [
"add_ons_not_recorded"
],
"type": "string"
},
"conflicts": {
"items": {
"properties": {
"avoid": {
"enum": [
"gluten",
"crustaceans",
"eggs",
"fish",
"peanuts",
"soy",
"milk",
"tree_nuts",
"celery",
"mustard",
"sesame",
"sulphites",
"lupin",
"molluscs",
"gluten_celiac"
],
"type": "string"
},
"conflict": {
"description": "contains = the restaurant declares it in the dish; may_contain = declared as possible traces (cross-contact): a conflict too, not a detail; not_recorded = the restaurant has not recorded it for this dish: UNKNOWN, not absent; not_listed_in_declared = the restaurant reviewed the dish and it is not among what it declares, which is not a guarantee. None of these values means a dish is safe or free of an allergen, and a dish with no row is unknown.",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared"
],
"type": "string"
},
"note_id": {
"description": "Key of its text in avoid_notes",
"enum": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "string"
}
},
"required": [
"avoid",
"conflict",
"note_id"
],
"type": "object"
},
"type": "array"
},
"item_id": {
"type": "integer"
},
"name": {
"type": [
"string",
"null"
]
}
},
"required": [
"item_id",
"name",
"conflicts"
],
"type": "object"
},
"type": "array"
},
"avoid_notes": {
"description": "Only with `avoid`: the text of each note_id. Tell the diner the note of the dishes you mention; translate it if needed, but do not soften it.",
"properties": {
"add_ons_not_recorded": {
"type": "string"
},
"contains": {
"type": "string"
},
"could_not_check": {
"type": "string"
},
"may_contain": {
"type": "string"
},
"not_listed_in_declared": {
"type": "string"
},
"not_marked_sin_tacc": {
"type": "string"
},
"not_recorded": {
"type": "string"
},
"sin_tacc_marked": {
"type": "string"
},
"sin_tacc_not_reviewed": {
"type": "string"
}
},
"required": [
"contains",
"may_contain",
"not_recorded",
"not_listed_in_declared",
"sin_tacc_marked",
"sin_tacc_not_reviewed",
"not_marked_sin_tacc",
"add_ons_not_recorded",
"could_not_check"
],
"type": "object"
},
"currency": {
"type": "string"
},
"estimated_total": {
"description": "Food in the cart at today's prices; cover charge, delivery fee, coupons and any discount for paying by transfer (get_restaurant_info ordering.transfer_discount_percent) are applied on the page, once the diner picks how to pay",
"type": "number"
},
"fulfillment": {
"description": "The way of ordering preselected on the page; null = the diner chooses",
"enum": [
"pickup",
"delivery",
"dine_in",
null
],
"type": [
"string",
"null"
]
},
"language": {
"description": "Language of the page and of the dish names",
"type": "string"
},
"left_out": {
"items": {
"properties": {
"item_id": {
"type": "integer"
},
"left": {
"description": "limit_reached: how many can still be ordered",
"type": "integer"
},
"name": {
"type": [
"string",
"null"
]
},
"reason": {
"enum": [
"not_on_menu",
"addon_unavailable",
"sold_out",
"notice",
"hours",
"set_menu",
"no_price",
"preorder",
"limit_reached",
"combo"
],
"type": "string"
}
},
"required": [
"item_id",
"name",
"reason"
],
"type": "object"
},
"type": "array"
},
"lines_in_cart": {
"type": "integer"
},
"note": {
"type": "string"
},
"order_url": {
"description": "The restaurant's order page with the cart filled in: give it to the diner as is",
"type": "string"
},
"scheduled_only": {
"description": "Only an order for a later time is taken right now (closed or past the last order, with \"order for later\" on); the page offers it",
"type": "boolean"
}
},
"required": [
"order_url",
"language",
"currency",
"estimated_total",
"lines_in_cart",
"left_out",
"fulfillment",
"accepting_now",
"scheduled_only",
"note"
],
"type": "object"
}
},
{
"description": "Price a group meal (a birthday, a company dinner) from the restaurant's own menus for groups (get_restaurant_info.group_menus): for each one that takes this party_size on that date, total = price_per_person x party_size. It is the price the restaurant publishes today: nothing is saved or sent to the restaurant, it holds until valid_until and it does not lock the price for the event date. Nothing else is added or guessed: drinks, deposit, service and anything not in includes are listed in to_confirm. Pass date (YYYY-MM-DD, up to a year ahead) to check that day against each menu's own dates and weekdays, its notice_days and the restaurant's booking rules (booking: bookable, reason, free_times; reason party_size = too many people to book online, use the contact); a menu that starts later is priced for a date inside its dates. menu_id prices only one. status no_group_menu or no_fit = there is no published price for this group: give the diner the contact (or ask_restaurant) and never make one up. reserve_url opens the booking page with the party size (and date) filled in; nothing is booked by this call.",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"date": {
"description": "YYYY-MM-DD on the restaurant's calendar, today to a year ahead (optional; without it, today's menus)",
"type": "string"
},
"language": {
"description": "Menu language: en | es | pt | fr. A language the restaurant does not offer falls back to its own language.",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"menu_id": {
"description": "One of get_restaurant_info.group_menus[].menu_id (optional; default all)",
"type": "integer"
},
"party_size": {
"description": "How many people, the organiser included",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"party_size"
],
"type": "object"
},
"name": "quote_group",
"outputSchema": {
"properties": {
"booking": {
"description": "null = no date asked or the restaurant takes no online bookings. Otherwise the booking rules applied to this date and party size (same verdict as list_available_slots)",
"properties": {
"bookable": {
"description": "At least one time is free that day for this many people",
"type": "boolean"
},
"free_times": {
"description": "Up to 8 free times (HH:MM, restaurant-local)",
"items": {
"type": "string"
},
"type": "array"
},
"reason": {
"description": "Why not: full, party_size (the group is outside the online booking range: book by contact), closed_day, special_closed, too_far, past, blackout, reservations_off…; null when bookable",
"type": [
"string",
"null"
]
},
"special_label": {
"type": [
"string",
"null"
]
}
},
"required": [
"bookable",
"reason",
"special_label",
"free_times"
],
"type": [
"object",
"null"
]
},
"contact": {
"properties": {
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"whatsapp": {
"type": [
"string",
"null"
]
}
},
"required": [
"phone",
"whatsapp",
"email"
],
"type": "object"
},
"currency": {
"type": "string"
},
"date": {
"description": "The date asked for (YYYY-MM-DD), or null",
"type": [
"string",
"null"
]
},
"message": {
"type": "string"
},
"other_menus": {
"description": "Group menus not priced for this request, and why",
"items": {
"properties": {
"menu_id": {
"type": "integer"
},
"name": {
"type": "string"
},
"party_size_max": {
"type": [
"integer",
"null"
]
},
"party_size_min": {
"type": "integer"
},
"reason": {
"description": "party_size: the group is outside its range. not_on_date: not served on that date (its own dates or weekdays; today without a date)",
"enum": [
"party_size",
"not_on_date"
],
"type": "string"
}
},
"required": [
"menu_id",
"name",
"party_size_min",
"party_size_max",
"reason"
],
"type": "object"
},
"type": "array"
},
"party_size": {
"type": "integer"
},
"quotes": {
"items": {
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"extras": {
"description": "Dishes with a price of their own inside the menu: optional supplements per person, never in the total",
"items": {
"properties": {
"name": {
"type": "string"
},
"price": {
"type": "number"
}
},
"required": [
"name",
"price"
],
"type": "object"
},
"type": "array"
},
"includes": {
"description": "The dishes of the menu",
"items": {
"type": "string"
},
"type": "array"
},
"menu_id": {
"description": "Pass as quote_group.menu_id",
"type": "integer"
},
"name": {
"type": "string"
},
"notice_days": {
"description": "Whole days ahead it must be booked; 0 = none",
"type": "integer"
},
"notice_ok": {
"description": "false = the date is closer than notice_days (the restaurant may not take it); null = no date asked",
"type": [
"boolean",
"null"
]
},
"party_size_max": {
"description": "Largest group; null = no upper limit",
"type": [
"integer",
"null"
]
},
"party_size_min": {
"description": "Smallest group it is offered to",
"type": "integer"
},
"price_per_person": {
"description": "The restaurant's own set price per person, in currency",
"type": "number"
},
"served_hours": {
"description": "When the menu is served, if it has hours of its own (restaurant-local time); null = whenever the restaurant is open",
"type": [
"string",
"null"
]
},
"total": {
"description": "price_per_person x party_size, from the price the restaurant publishes today. Drinks, deposit and anything not in includes are not in it",
"type": "number"
}
},
"required": [
"menu_id",
"name",
"description",
"price_per_person",
"party_size_min",
"party_size_max",
"notice_days",
"includes",
"extras",
"served_hours",
"total",
"notice_ok"
],
"type": "object"
},
"type": "array"
},
"reserve_url": {
"description": "The booking page with this party size (and date) filled in; null when the restaurant takes no online bookings or not for this many people",
"type": [
"string",
"null"
]
},
"status": {
"description": "quoted: at least one group menu takes this party size on that date (quotes). no_fit: none does (other_menus says why). no_group_menu: the restaurant has none: give the diner the contact for a quote",
"enum": [
"quoted",
"no_fit",
"no_group_menu"
],
"type": "string"
},
"to_confirm": {
"description": "What the quote does not cover and the diner confirms with the restaurant",
"items": {
"type": "string"
},
"type": "array"
},
"valid_until": {
"description": "quoted: ISO time the prices published today hold until (the end of the restaurant's today). Nothing is saved or sent and the price for the event date is not locked: ask again after it. null otherwise",
"type": [
"string",
"null"
]
}
},
"required": [
"status",
"party_size",
"date",
"currency",
"quotes",
"other_menus",
"booking",
"valid_until",
"reserve_url",
"to_confirm",
"contact",
"message"
],
"type": "object"
}
},
{
"description": "Find restaurants on MenuNode when you do not know the slug yet, by restaurant or by dish. All filters are optional and combine with AND: dish (words that must appear in a dish: name, description, translations, its category or dietary tags — e.g. \"milanesa\", \"sin TACC\", \"vegan pizza\"; returns matched_dishes per restaurant with the price in force right now and whether each dish is available or sold out), query (free text over the restaurant's name, cuisine, description and city OR over its dishes; restaurants that match through a dish also get matched_dishes), city, cuisine, open_now (evaluated in each restaurant's own timezone; restaurants that publish no hours are excluded when open_now is true), dietary (e.g. [\"vegetarian\",\"dairy_free\"]: the restaurant has available dishes with every tag; vegetarian also counts vegan dishes), accepts_orders, accepts_reservations, near {lat, lng, radius_km} (only restaurants with coordinates; results then sorted by distance). language (en|es|pt|fr) picks the language dish names come back in, when the restaurant offers it. Each result carries price_band: dish prices worked out from its main location's menu today (half of the dishes between p25 and p75, the most expensive section; not per person; null with fewer than 6 priced dishes). Returns up to `limit` (max 20) results and a next_cursor to page. Only restaurants that publish their menu are searched. Use the returned slug with get_restaurant_info / get_menu / get_menu_structured.",
"inputSchema": {
"properties": {
"accepts_orders": {
"description": "Takes pay-at-restaurant orders online (create_order)",
"type": "boolean"
},
"accepts_reservations": {
"description": "Takes table bookings online (create_reservation)",
"type": "boolean"
},
"city": {
"description": "City or neighbourhood (accent-insensitive)",
"type": "string"
},
"cuisine": {
"description": "Cuisine type, e.g. \"pizza\", \"peruvian\", \"parrilla\"",
"type": "string"
},
"cursor": {
"description": "next_cursor from a previous call",
"type": "string"
},
"dietary": {
"description": "Dietary tags restaurants can set on dishes: vegan, vegetarian, gluten_free, dairy_free, spicy, nuts, halal, kosher. vegetarian also matches vegan dishes. For coeliacs use dish \"sin TACC\" (celiac_safe), not gluten_free.",
"items": {
"type": "string"
},
"type": "array"
},
"dish": {
"description": "Dish or ingredient words, e.g. \"milanesa napolitana\", \"sin TACC\", \"vegan pizza\" (accent-insensitive, all words must match a dish)",
"type": "string"
},
"language": {
"description": "Language for dish names in matched_dishes (falls back to the restaurant's own language)",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"limit": {
"description": "Results per page, default 10, max 20",
"type": "number"
},
"near": {
"properties": {
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"radius_km": {
"description": "Default 5, max 200",
"type": "number"
}
},
"required": [
"lat",
"lng"
],
"type": "object"
},
"open_now": {
"type": "boolean"
},
"query": {
"description": "Free text: restaurant name, cuisine, dish, neighbourhood",
"type": "string"
}
},
"type": "object"
},
"name": "search_restaurants",
"outputSchema": {
"properties": {
"next_cursor": {
"type": [
"string",
"null"
]
},
"results": {
"items": {
"properties": {
"accepts_orders": {
"type": "boolean"
},
"accepts_reservations": {
"type": "boolean"
},
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"cuisine": {
"type": [
"string",
"null"
]
},
"currency": {
"type": [
"string",
"null"
]
},
"dietary": {
"items": {
"type": "string"
},
"type": "array"
},
"distance_km": {
"type": "number"
},
"locality": {
"type": [
"string",
"null"
]
},
"matched_dishes": {
"description": "Present when the search matched dishes (dish or query): up to 5, in menu order",
"items": {
"properties": {
"available_now": {
"description": "create_order takes it for as soon as possible: not sold out, its category is being served, no days of notice, not part of a set menu",
"type": "boolean"
},
"category": {
"type": "string"
},
"dietary_tags": {
"description": "Dietary tags the restaurant set on the dish: vegan, vegetarian, gluten_free, dairy_free, spicy, nuts, halal, kosher. dairy_free = no milk or dairy at all (not the same as lactose-free); halal and kosher = the restaurant says it holds the certification; gluten_free = the recipe has no gluten, NOT safe for coeliacs unless celiac_safe is true; nuts = contains nuts. A missing tag means nothing was declared, never the opposite. Never set halal or kosher from menu text or a photo; only when the owner confirms they hold the certificate. When writing: a list of strings, at most 20 tags of 40 characters (extra ones are dropped).",
"items": {
"type": "string"
},
"type": "array"
},
"item_id": {
"type": "integer"
},
"name": {
"type": "string"
},
"price": {
"description": "Price in force right now (happy hour included); null = the menu states no price for it",
"type": [
"number",
"null"
]
},
"regular_price": {
"description": "Price without the promo, when a promo applies",
"type": [
"number",
"null"
]
},
"sold_out": {
"type": "boolean"
},
"sold_out_until": {
"description": "ISO time a \"sold out today\" dish comes back",
"type": [
"string",
"null"
]
},
"subtitle": {
"type": [
"string",
"null"
]
}
},
"required": [
"item_id",
"name",
"category",
"price",
"available_now",
"sold_out"
],
"type": "object"
},
"type": "array"
},
"matched_dishes_total": {
"type": "integer"
},
"name": {
"type": "string"
},
"open_now": {
"description": "null when the restaurant publishes no hours",
"type": [
"boolean",
"null"
]
},
"price_band": {
"description": "#612: dish prices worked out from today's public menu at this location (regular prices, dishes priced 0 and set menus left out). Not a price per person and not what a meal costs: drinks and sides count as dishes too. null when fewer than 6 dishes have a price.",
"properties": {
"as_of": {
"description": "YYYY-MM-DD on the restaurant's clock",
"type": "string"
},
"currency": {
"type": "string"
},
"dishes_counted": {
"type": "integer"
},
"p25": {
"description": "Half of the dishes cost between p25 and p75; both null when prices are too spread out (p75 more than 4 x p25)",
"type": [
"number",
"null"
]
},
"p75": {
"type": [
"number",
"null"
]
},
"top_section": {
"description": "The menu section with the highest median dish price (at least 4 priced dishes): its name and that median",
"properties": {
"median": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"median"
],
"type": [
"object",
"null"
]
}
},
"required": [
"currency",
"p25",
"p75",
"top_section",
"dishes_counted",
"as_of"
],
"type": [
"object",
"null"
]
},
"price_range": {
"type": [
"string",
"null"
]
},
"slug": {
"type": "string"
},
"urls": {
"properties": {
"llms_txt": {
"type": "string"
},
"menu": {
"type": "string"
},
"order": {
"type": [
"string",
"null"
]
},
"reserve": {
"type": [
"string",
"null"
]
}
},
"required": [
"menu",
"llms_txt",
"order",
"reserve"
],
"type": "object"
}
},
"required": [
"slug",
"name",
"open_now",
"dietary",
"accepts_orders",
"accepts_reservations",
"urls"
],
"type": "object"
},
"type": "array"
},
"total": {
"description": "Restaurants matching the filters (before paging)",
"type": "integer"
}
},
"required": [
"total",
"results",
"next_cursor"
],
"type": "object"
}
},
{
"description": "Send the restaurant an inquiry for an event or a large group (a birthday, a company dinner, a family celebration, a wedding): date, party size (2 to 500), event type, the guest's name and at least one contact (email and/or phone); optional: budget_per_person in the restaurant's currency, dietary (allergies or diets, free text), message, and group_menu_id = one of get_restaurant_info.group_menus[].menu_id the guest is interested in. Nothing is booked, held or charged: it reaches the restaurant's inbox and the restaurant answers the guest by email or WhatsApp, so tell the guest to wait for that answer. Fails with feature_off when this location does not take event inquiries online (give the guest the contact from get_restaurant_info instead). Only at the guest's explicit request, with their own contact. For a price, quote_group first; for a normal table, create_reservation.",
"inputSchema": {
"properties": {
"branch": {
"description": "Location of a restaurant with several (get_restaurant_info.locations[].branch, e.g. \"palermo\"). Omit for the main location. Hours, contact, address, ordering and reservations differ per location.",
"type": "string"
},
"budget_per_person": {
"description": "Optional, in the restaurant's currency",
"exclusiveMinimum": 0,
"type": "number"
},
"customer_email": {
"type": "string"
},
"customer_name": {
"type": "string"
},
"customer_phone": {
"type": "string"
},
"date": {
"description": "YYYY-MM-DD on the restaurant's calendar, today to a year ahead",
"type": "string"
},
"dietary": {
"description": "Allergies or diets in the group (max 500 characters)",
"type": "string"
},
"event_type": {
"enum": [
"birthday",
"company",
"family",
"wedding",
"other"
],
"type": "string"
},
"event_type_other": {
"description": "What kind of event, when event_type is other (max 60 characters)",
"type": "string"
},
"group_menu_id": {
"description": "Optional: get_restaurant_info.group_menus[].menu_id",
"type": "integer"
},
"language": {
"description": "The guest's language (default: the restaurant's)",
"enum": [
"en",
"es",
"pt",
"fr"
],
"type": "string"
},
"message": {
"description": "Anything else the guest wants to say (max 1000 characters)",
"type": "string"
},
"party_size": {
"maximum": 500,
"minimum": 2,
"type": "integer"
},
"restaurant_slug": {
"type": "string"
}
},
"required": [
"restaurant_slug",
"date",
"party_size",
"event_type",
"customer_name"
],
"type": "object"
},
"name": "send_event_inquiry",
"outputSchema": {
"properties": {
"booked": {
"const": false,
"description": "Nothing is booked or charged: the restaurant answers the guest by email or WhatsApp",
"type": "boolean"
},
"group_menu": {
"description": "The menu for groups the guest is interested in, as sent (null = none)",
"type": [
"string",
"null"
]
},
"inquiry_id": {
"type": "integer"
},
"message": {
"type": "string"
},
"sent": {
"const": true,
"type": "boolean"
}
},
"required": [
"inquiry_id",
"sent",
"booked",
"group_menu",
"message"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:e78668376cf542f285f84936083815017fe57ac3db699f3d39698ad692134dfb | sha256sum