Decline a leave request
Decline one pending request, with an optional reason.
MCP tool timetastic_write → decline_request
write Confirm
Returns the request with the status Declined and the reason. The employee is told right away. 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 from list_pending_requests. |
| reason string | string | Reason the employee reads in the decline. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "timetastic_write",
"arguments": {
"operation": "decline_request",
"arguments": {
"request_id": "request_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"request_id": "5128861",
"employee": "Tomas Lind",
"leave_type": "Holiday",
"from": "2026-12-07",
"to": "2026-12-11",
"days": 5,
"status": "Declined",
"reason": "Planning week, the whole team is needed",
"declined_by": "Priya Nair"
},
"isError": false
}