Look up a reservation
get_reservationLook 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirmation_code": "<confirmation_code>"
},
"name": "get_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmation_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| time | Yes | HH:MM, restaurant local time | |
| notes | Yes | ||
| status | Yes | ||
| deposit | Yes | #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 | Yes | ||
| party_size | Yes | ||
| restaurant | Yes | ||
| allergy_plan | Yes | ||
| customer_name | Yes |