Cancel a reservation
cancel_reservationCancel a reservation on the guest's behalf using its confirmation code. Only pending/confirmed bookings whose time has not come yet can be cancelled; after that it fails with reservation_closed (the guest must call the restaurant). Works even while the restaurant takes no new online reservations.
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": {
"confirmation_code": "<confirmation_code>"
},
"name": "cancel_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmation_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| cancelled | Yes |