Cancel flight booking
post_flights_bookings_bookingid_cancellationsCancel a confirmed flight booking by submitting the booking ID and booking email. Verify the refund estimate first, then confirm to process the cancellation.
Instructions
Cancel a confirmed flight booking. First show the customer the refund estimate from get_flights_bookings_bookingid_cancellations and wait for a clear yes.
Requires the bookingId and the email used to book: the server only returns or changes a booking when they match.
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": {
"bookingId": "<bookingId>",
"email": "<email>"
},
"name": "post_flights_bookings_bookingid_cancellations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The email address used to make the booking. The server checks it against the booking before returning or changing anything. | ||
| lastName | No | The booking holder's last name, if the customer gives it. Optional. | |
| bookingId | Yes | The flight booking identifier to cancel |