Cancel booking
cancel_bookingCancel one of the signed-in user's bookings. Requires the 6-digit verificationCode from request_booking_action_code. This may be irreversible and can trigger a refund per policy.
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": {
"publicId": "<publicId>",
"verificationCode": "<verificationCode>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional cancellation reason (≤1000 chars). | |
| publicId | Yes | The booking's public id. | |
| verificationCode | Yes | 6-digit code from `request_booking_action_code`. |