create_time_off_request
Submit a new time-off request for a worker by providing worker ID, policy ID, start date, and end date.
Instructions
Create a new time-off request for a worker.
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": {
"worker_id": "<worker_id>",
"policy_id": "<policy_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "create_time_off_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Notes for the request | |
| end_date | Yes | End date (YYYY-MM-DD) | |
| policy_id | Yes | The time-off policy ID | |
| worker_id | Yes | The worker ID | |
| start_date | Yes | Start date (YYYY-MM-DD) |