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
| Name | Type | Description |
|---|---|---|
| location_id integer | integer | Location ID from list_locations. Default: all your locations. |
| status enum | enum | pending (default), approved or declined. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "deputy_read",
"arguments": {
"operation": "list_leave_requests",
"arguments": {}
}
}
} Example response
{
"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
}