Cancel a booking
cancel_bookingCancels a booking at the customer's explicit request. Requests not yet confirmed by the driver and unpaid tours are cancelled at once (the customer gets an email). Confirmed or paid bookings are passed to the business as a cancellation request, which it handles under the Terms (free until 24 hours before transfers, 48 hours before tours). Needs the bookingId and the customer's email. Ask the customer to confirm before calling.
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": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The customer's email address used for the booking (proves it is their booking). | ||
| reason | No | Optional reason from the customer. | |
| bookingId | Yes | The bookingId returned by request_booking. |