cancel
Cancels a booking at a network venue. Takes provider_id and item={booking_id}, where booking_id comes from list_current_bookings. A cancellation is reversible — the freed slot or bed can be booked again — which is why this tool is not marked destructive. If the user is not yet authorized at that venue the call returns a consent link instead. Authorization: one Telegram consent per venue, which also covers later calls.
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": {
"provider_id": "<provider_id>",
"item": "<item>"
},
"name": "cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | What to cancel: {booking_id:'<id from list_current_bookings>'}. | |
| provider_id | Yes | Venue id as returned by find_providers (e.g. rudko-vertebrolog). |