Cancel booking
cancel_bookingCancel a booking. This is irreversible: call preview_cancellation, tell the user the penalty and refund, and set confirm to true only after the user explicitly agreed.
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": {
"vertical": "<vertical>",
"bookingId": "<bookingId>",
"confirm": "<confirm>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Short reason given by the user. | |
| confirm | Yes | Must be true. Set it only after the user explicitly confirmed this action. | |
| vertical | Yes | Service type. | |
| bookingId | Yes | Identifier of one booking inside an order, from get_booking. |