Cancel booking
cancel_bookingPermanently cancel a Hotelbeds booking by providing its reference and confirming the action. Check the cancellation quote first to see any charges.
Instructions
Permanently cancel a booking. Requires confirm=true. Use get_cancellation_quote first to see the charge.
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": {
"reference": "<reference>",
"confirm": "<confirm>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to actually cancel — a guard against accidental cancellation. | |
| reference | Yes | Booking reference to cancel. |