update_absence
Update an existing employee absence record by specifying the absence ID, reason, dates, and payment details.
Instructions
Updating existing absence
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>",
"absenceId": "<absenceId>",
"reason": "<reason>",
"start_date": "<start_date>",
"end_date": "<end_date>",
"half_day": "<half_day>",
"continued_pay": "<continued_pay>",
"disability": "<disability>",
"paid_hours": "<paid_hours>"
},
"name": "update_absence"
}
}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 | Yes | ||
| half_day | Yes | ||
| absenceId | Yes | Id of an absence | |
| disability | Yes | ||
| employeeId | Yes | Id of an employee | |
| paid_hours | Yes | ||
| start_date | Yes | ||
| continued_pay | Yes |