create_absence_for_employee
Record an employee's absence by providing reason, start date, and optional end date. Supports reasons like sickness, vacation, and more.
Instructions
Create absence for employee
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": {
"employeeId": "<employeeId>",
"reason": "<reason>",
"start_date": "<start_date>"
},
"name": "create_absence_for_employee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Currently supported reasons: Injury, Sickness, MaternityLeave, MilitaryLeave, Vacation, InterruptionOfWork. New reasons might be added in the future. | |
| end_date | No | ||
| half_day | No | ||
| disability | No | ||
| employeeId | Yes | Id of an employee | |
| paid_hours | No | ||
| start_date | Yes | ||
| continued_pay | No |