Cancel my booking
cancel_my_tripCancels one of the connected user's own bookings, by the number shown in my_trips. Two steps: the first call with confirm=false returns the current cancellation preview and cancels nothing; a second call with confirm=true within 30 minutes of that preview performs the cancellation. When those terms carry a penalty or are non-refundable, the cancellation also needs accept_penalty=true, which records that the traveller accepted the current charge. Changed or expired terms return a fresh preview for agreement. Missing fee information needs advisor verification and a new preview; a verified penalty does not prevent cancellation after agreement. An unknown result needs booking-status verification before any retry. Not reversible.
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": {
"trip": "<trip>",
"confirm": "<confirm>"
},
"name": "cancel_my_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | Yes | number from my_trips | |
| confirm | Yes | second step: cancels when the terms were previewed within the last 30 minutes; otherwise the call returns the preview | |
| accept_penalty | No | records that the traveller accepted the penalty shown in the preview; required when the terms carry a penalty or are non-refundable |