list-team-holidays-by-department
Retrieve team holidays filtered by department, with options to narrow by date range, active status, and pagination. Ideal for viewing specific department leave schedules.
Instructions
List team holidays filtered by specific department
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"department_id": "<department_id>"
},
"name": "list-team-holidays-by-department"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| department_id | Yes | Department ID to filter holidays | |
| start_date | No | Filter holidays starting from this date (YYYY-MM-DD) | |
| end_date | No | Filter holidays ending before this date (YYYY-MM-DD) | |
| active | No | Filter by active status (0=inactive, 1=active) | |
| page | No | Page number for pagination | |
| per-page | No | Number of items per page (max 200) |