List time off
list_time_offTime off (leave) requests with their status: pending, approved or rejected. Optionally only those overlapping some dates.
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": "list_time_off"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| end_date | No | Only time off that starts on or before this day | |
| group_id | No | Only the people in this group and its sub-groups (an id from list_groups) | |
| person_ids | No | Only these people (ids from list_people). Leave out for everyone you can see. | |
| start_date | No | Only time off that ends on or after this day |