Cancel a booking
Cancel a booking with an optional reason.
MCP tool timetastic_write → cancel_booking
write Confirm
Returns the booking with the status Cancelled. Anyone can cancel their own leave from tomorrow on; leave for today or earlier needs the approver or an admin, or the call fails with APP_PERMISSION_DENIED. The approver gets an email. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| request_id string required | string | Request id of the booking. |
| reason string | string | Optional reason that goes with the cancellation. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "timetastic_write",
"arguments": {
"operation": "cancel_booking",
"arguments": {
"request_id": "request_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"request_id": "5129012",
"employee": "Ana Torres",
"leave_type": "Holiday",
"from": "2026-12-21",
"to": "2026-12-24",
"status": "Cancelled",
"cancelled_by": "Ana Torres"
},
"isError": false
}