List leave requests
hr_list_leaveLeave requests, latest start first, each with its request_id: filter by person, status (pending ones wait for hr_decide_leave), leave type, or dates (requests that touch from-to). Free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hr_list_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | YYYY-MM-DD | |
| from | No | YYYY-MM-DD | |
| limit | No | ||
| offset | No | ||
| person | No | The person_id, or their work email. | |
| status | No | ||
| leave_type | No | A leave type by name, e.g. "Vacation". |