Cancel booking
cancel_bookingGives an unpaid hold up at once (nothing was charged), or cancels a confirmed booking with a refundable rate; the refund follows the rate terms and goes back to the card through Nuitee. Non-refundable rates cannot be cancelled online. Only call this when the guest asked for it. Needs the booking_secret; with the key that made it, the guest email works too.
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": {
"booking_id": "<booking_id>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | booking_id from prebook. | |
| guest_email | No | With the key that made the booking: the guest email used for it. | |
| booking_secret | No | booking_secret from prebook. |