cancelBooking
Cancel a booking. Canceling cannot be undone. It refunds what the booking was paid with when the cancellation falls within the resource's refund policy; pass autoRefund false to cancel without a refund. For one occurrence of a repeating booking, pass its id from getBookings with singleBookings "true", and set deleteRepeatingScope to "thisAndNext" to cancel it and every later occurrence; to cancel the whole series, pass the id without an occurrence date and "thisAndNext". Returns the booking as it was before the cancellation, so it does not show as canceled yet. Get bookingId from getBookings. Never invent UUIDs; only use values from prior tool responses.
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>"
},
"name": "cancelBooking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookingId | Yes | ID of the booking. For a single occurrence of a repeating booking, append the occurrence date: `<bookingId>_<ISO date>`. | |
| autoRefund | No | Whether to refund what the booking was paid with when the cancellation falls within the resource's refund policy. | |
| deleteRepeatingScope | No | For a repeating booking, whether to cancel only the addressed occurrence or that one and every later occurrence. | singleOccurrence |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking | Yes |