Cancel Booking
cancel_bookingCancels an existing booking. Required: bookingId (from list_bookings) and the boolean confirmed; optional reason. This is a two-step safety flow: calling with confirmed:false does NOT cancel and returns only a 'not confirmed' acknowledgement (it does NOT return fees or refund amounts — read those first from get_booking_details); call again with confirmed:true to actually submit the cancellation. On success the response includes cancellationFee + cancellationFeeCurrency when the supplier reported a charged fee (absent means none was reported, not zero); refunds are processed separately. When the cancellation is not accepted, failureReason is one of NOT_FOUND, AFTER_CHECK_IN, NOT_CANCELLABLE_STATUS, SUPPLIER_NOT_CONFIRMED (submitted, under review: do not rebook or retry) or ERROR (not processed: the booking was not cancelled; try again later or contact support). Needs a registered LockTrip account session; guest sessions cannot cancel bookings. Without a signed-in session, pass the user's email instead: LockTrip emails them a sign-in link to their bookings on locktrip.com, and the result has magicLinkSent: true (nothing is shown or changed in this chat). Returns success and a message. This is a destructive, terminal action — confirm with the user before calling with confirmed:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The user's LockTrip account email. Needed only when there is no signed-in session: LockTrip then emails that address a sign-in link to the user's bookings on locktrip.com (the bookings are not shown in this chat). | ||
| reason | No | Optional cancellation reason | |
| bookingId | Yes | Booking ID to cancel | |
| confirmed | Yes | Set true to confirm cancellation | |
| sessionToken | No | Optional guest-checkout token returned by `guest_login`. |