Approve a leave request
Approve one pending request from the inbox.
MCP tool timetastic_write → approve_request
write Confirm
Returns the request with its new status and who approved it. It works for the requests your account may approve; an approver handles their own people, and an admin can approve any employee's leave. Timetastic emails the person 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. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "timetastic_write",
"arguments": {
"operation": "approve_request",
"arguments": {
"request_id": "5128840"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"request_id": "5128840",
"employee": "Ana Torres",
"leave_type": "Holiday",
"from": "2026-11-23",
"to": "2026-11-27",
"days": 5,
"status": "Approved",
"approved_by": "Priya Nair"
},
"isError": false
}