List leave requests

Pending leave requests with employee, dates, leave type and comment.

MCP tool deputy_read → list_leave_requests

read

Returns leave requests waiting for a decision, oldest first, with the employee, the first and last day, the leave type the employee picked and their comment. The leave type is only a suggestion. status approved or declined lists decided requests instead.

Parameters

Parameters: list_leave_requests
NameTypeDescription
location_id integer integer Location ID from list_locations. Default: all your locations.
status enum enum pending (default), approved or declined.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "deputy_read",
    "arguments": {
      "operation": "list_leave_requests",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "leave_requests": [
      {
        "leave_id": 311,
        "employee": "Tom Becker",
        "date_start": "2026-11-03",
        "date_end": "2026-11-04",
        "leave_type": "Annual leave",
        "comment": "Family trip",
        "status": "pending"
      }
    ]
  },
  "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.