Make a reservation
create_reservationChanges: adds one stay at the hotel's own price, guarantee Pending; takes one room of its type off sale on the booking sites; the hotel's own confirmation letter follows when its booking follow-up is on. Previews first: the first call shows the change and makes nothing. Makes a reservation at the hotel's own price for those nights (the hotel's default desk plan unless rate_plan is sent). First call without confirm: a preview (each night's rate, the total, rooms left, the letter), nothing is booked. A full night, a closed date or another price is refused as for a desk clerk. Second step: after the preview, the call with confirm true sends a link to the person's own phone or e-mail; the change is made only when they open it and press Approve. Call again with the same values to learn whether it was made. Needs the owner's sign-in.
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": {
"guest_name": "<guest_name>",
"room_type": "<room_type>",
"check_in": "<check_in>",
"check_out": "<check_out>"
},
"name": "create_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adults | No | Adults (1) | |
| company | No | The guest's company | |
| confirm | No | true to go ahead with the change shown in the preview | |
| check_in | Yes | Arrival YYYY-MM-DD | |
| children | No | Children (0) | |
| check_out | Yes | Departure YYYY-MM-DD | |
| rate_plan | No | Rate plan code (the hotel's default when not sent) | |
| room_type | Yes | Room type code, from availability | |
| guest_name | Yes | The guest's full name | |
| preview_id | No | preview_id from the preview | |
| guest_email | No | The guest's e-mail (or guest_phone) | |
| guest_phone | No | The guest's phone (or guest_email) | |
| special_requests | No | What the guest asked for |