create-timeoff
Submit a time off request for one or more employees by providing their IDs, date range, and time off type. Optionally include hours, notes, and status.
Instructions
Create a new time off request
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": {
"people_ids": "<people_ids>",
"timeoff_type_id": "<timeoff_type_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "create-timeoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| people_ids | Yes | Array of person IDs (people_ids) - Float API expects plural field | |
| timeoff_type_id | Yes | The time off type ID | |
| start_date | Yes | Start date (YYYY-MM-DD) | |
| end_date | Yes | End date (YYYY-MM-DD) | |
| hours | No | Hours of time off (omit for full day) | |
| full_day | No | 1 for full day, 0 for partial day | |
| notes | No | Optional notes | |
| status | No | Status (1 for pending, 2 for approved, 3 for rejected - Float API uses numeric status codes) | |
| repeat_state | No | Repeat configuration | |
| repeat_end | No | End date for repeating time off (YYYY-MM-DD) |