createTimeOffRequest
Submit a new time-off request for a workspace by specifying the policy, start date, and end date, with an optional note for context.
Instructions
Create a new time-off request (paid feature)
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": {
"workspaceId": "<workspaceId>",
"policyId": "<policyId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "createTimeOffRequest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Request note (optional) | |
| endDate | Yes | End date in ISO 8601 format | |
| policyId | Yes | The time-off policy ID | |
| startDate | Yes | Start date in ISO 8601 format | |
| workspaceId | Yes | The workspace ID |