cancel_booking
Cancel any cab booking by ID. Specify the canceller (Guest, Hotel, Driver, Admin, or No Driver Available). Driver cancellations incur a 20-point penalty.
Instructions
Cancel a booking. If cancelled by Driver, applies a -20 score penalty. If no driver was found, set cancelled_by to 'No Driver Available'.
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": {
"booking_id": "<booking_id>",
"cancelled_by": "<cancelled_by>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | Booking ID to cancel | |
| cancelled_by | Yes | Who is cancelling |