w2w_get_timeoff
Retrieve approved time off from When2Work for a specified date range. Automatically handles pagination for ranges exceeding 31 days.
Instructions
Get approved time off from When2Work for a date range. Supports automatic pagination for ranges over 31 days.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "w2w_get_timeoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End date in mm/dd/yyyy format (e.g., 01/31/2024) | |
| start_date | Yes | Start date in mm/dd/yyyy format (e.g., 01/15/2024) |