List absence requests
List absence and leave requests.
MCP tool shiftbase_read → list_absence_requests
read
Returns each request with employee, dates, absence policy and status, oldest first. Without a status it returns the requests that still wait for a decision. Which requests appear depends on the departments your role can open.
Parameters
| Name | Type | Description |
|---|---|---|
| status string | string | One of pending, approved, declined. |
| department_id string | string | Only this department. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "shiftbase_read",
"arguments": {
"operation": "list_absence_requests",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"requests": [
{
"id": "7731",
"employee": "Lena Ortiz",
"department": "Harbor Cafe",
"from": "2026-11-03",
"to": "2026-11-07",
"policy": "Holiday",
"status": "pending"
}
]
},
"isError": false
}