Book hotel
book_hotelConfirm a booking. Only call after the traveller has explicitly confirmed the hotel, dates, room, total price, cancellation policy and payment terms (set traveller_confirmed=true). Payment is collected by the property: never ask for card details. Returns the booking reference.
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": {
"rate_key": "<rate_key>",
"guest_name": "<guest_name>",
"guest_email": "<guest_email>",
"guest_phone": "<guest_phone>",
"traveller_confirmed": "<traveller_confirmed>"
},
"name": "book_hotel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate_key | Yes | rate_key from search_hotels or check_rate (valid 30 minutes). | |
| guest_name | Yes | Full name of the lead guest. | |
| guest_email | Yes | Guest email; the confirmation is sent there. | |
| guest_phone | Yes | Guest phone with country code, for the property. | |
| special_requests | No | Optional requests for the property (arrival time, cot…); not guaranteed. | |
| traveller_confirmed | Yes | true only after the traveller explicitly confirmed hotel, dates, room, total price, cancellation policy and payment terms. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||