Cancel a booking
dosai_cancel_bookingMark a booking as cancelled by its external_id: its pending reminders are withdrawn, the record stays in history. Works ONLY for bookings that came from the owner's own system (created with dosai_upsert_booking, they have an external_id in dosai_list_bookings). A booking the bot made through Google Calendar, Altegio, YCLIENTS or iiko is cancelled there, by the owner or by the bot's own cancel function. It does not write to the client and does not touch the calendar event. Requires editor role.
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": {
"project_id": "<project_id>",
"external_id": "<external_id>"
},
"name": "dosai_cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | From dosai_list_projects. | |
| external_id | Yes |