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

Parameters: approve_request
NameTypeDescription
request_id string required string Request id from list_pending_requests.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "timetastic_write",
    "arguments": {
      "operation": "approve_request",
      "arguments": {
        "request_id": "5128840"
      }
    }
  }
}

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.