Confirm an email code
confirm_bookingVerifies the code the guest received by email for a booking_id, then holds an available room and submits the reservation for staff confirmation within 24 hours. Requires that booking_id and six-digit code. Repeating the same valid pair returns the same reservation. After email proof, checks stays matching only that proved email, overlapping dates and the 30-day continuous-stay limit, including a one-night gap. Starting over with the proved email for the same property, room type and dates returns the existing held chat reservation. Contact-based refusals give only the requested stay link and property phone. The guest brings photo ID and signs the guest agreement at check-in; no payment is taken.
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": {
"booking_id": "<booking_id>",
"code": "<code>"
},
"name": "confirm_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The six-digit code received by the guest by email. | |
| booking_id | Yes | Opaque identifier returned by the first step. |