Create Absence
absence_createCreate a new absence record for vacation, sick leave, or other time off by specifying organization, contract, absence type, and date range.
Instructions
Create a new absence (vacation, sick leave, etc.).
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": {
"organizationId": "<organizationId>",
"contractId": "<contractId>",
"absenceTypeId": "<absenceTypeId>",
"startDateTime": "<startDateTime>",
"endDateTime": "<endDateTime>"
},
"name": "absence_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | Yes | ||
| contractId | Yes | ||
| absenceTypeId | Yes | ||
| startDateTime | Yes | Start date/time (ISO 8601) | |
| endDateTime | Yes | End date/time (ISO 8601) | |
| fullDay | No | ||
| reason | No | ||
| documentationUrl | No | ||
| fileName | No | ||
| fileUri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Resource ID | |
| success | No | ||
| deletedId | No |