Create booking
create_bookingCreate a real booking using room and rate IDs from availability search. Pay-at-hotel rates confirm immediately; rates needing a deposit return a payment URL to send the guest.
Instructions
Create a real booking. Use room ids + rate ids from search_availability. Pay-at-hotel rates confirm immediately; rates needing an online deposit return a payment_url to send the guest to.
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": {
"checkin": "<checkin>",
"checkout": "<checkout>",
"rooms": "<rooms>",
"guest": "<guest>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guest | Yes | ||
| rooms | Yes | One entry per room to book | |
| checkin | Yes | YYYY-MM-DD | |
| checkout | Yes | YYYY-MM-DD | |
| currency | No | ||
| promo_code | No |