Cancel Confirmed Booking
cancel_bookingCancel a confirmed reservation (`booking_id`) in both Vayancy and the property owner's PMS.
When to use:
- Use ONLY when a reservation has already been confirmed via `create_booking` (you have a `booking_id`) and the guest or property manager requests cancellation.
- To modify dates or switch villas on an existing confirmed booking, cancel the existing reservation with `cancel_booking` and place a new hold with `create_hold`.
When NOT to use:
- Do NOT use `cancel_booking` to release an unconfirmed 15-minute inventory hold before booking—use `cancel_hold` with `hold_id` instead.
- Do NOT use `cancel_booking` just to check whether a booking is active—use `get_booking_details` instead.
Args:
booking_id: Vayancy booking ID from create_booking
reason: Cancellation reason
guest_email: Guest email used when booking (required for public ownership verification)
Returns:
JSON object with `booking_id`, `pms_booking_id`, `success` (boolean), and updated `status` (`"cancelled"` or `"cancel_failed"`).
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 |
|---|---|---|---|
| reason | No | Optional reason for cancelling the reservation (recorded in PMS notes). | |
| booking_id | Yes | Confirmed Vayancy booking ID returned by `create_booking`. | |
| guest_email | No | Lead guest email address used when booking (required on public sessions to verify ownership before cancellation). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |