Create booking
create_bookingBook a hotel rate using two-step surface-and-reconfirm: first call gets live price, second commits with acceptedNet. Re-confirms if price moves beyond tolerance.
Instructions
Book a rate. Two-step surface-and-reconfirm: call once WITHOUT acceptedNet to surface the live price, then again WITH acceptedNet set to that price to commit. Re-surfaces if the price moves beyond tolerance.
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": {
"rateKey": "<rateKey>",
"holderName": "<holderName>",
"holderSurname": "<holderSurname>",
"paxes": "<paxes>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paxes | Yes | All guests; must match the rate's occupancy. | |
| remark | No | ||
| rateKey | Yes | rateKey to book (from search_hotels or check_rate). | |
| tolerance | No | Allowed % price increase before re-confirmation is required. | |
| holderName | Yes | Lead guest first name. | |
| acceptedNet | No | The net price you have agreed to pay. OMIT on the first call to receive a price quote. On the second call, set it to the currentNet the first call returned, to commit. | |
| holderSurname | Yes | Lead guest surname. | |
| clientReference | No | Your own booking reference for reconciliation. Auto-generated if omitted (Hotelbeds requires one). |