create_clockin_absence
Create a clockin absence (POST /absences) — vacation, sickness etc. Required: employee_id, absencecategory_name, approval (pending|granted|denied), starts_at, ends_at. Optional: duration (full_day|half_day|start_end), note.
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": {
"employee_id": "<employee_id>",
"absencecategory_name": "<absencecategory_name>",
"approval": "<approval>",
"starts_at": "<starts_at>",
"ends_at": "<ends_at>"
},
"name": "create_clockin_absence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | note | |
| ends_at | Yes | ISO 8601 | |
| approval | Yes | pending | granted | denied | |
| duration | No | full_day | half_day | start_end | |
| starts_at | Yes | ISO 8601 | |
| employee_id | Yes | clockin employee ID | |
| absencecategory_name | Yes | vacation | sick | workshop | special_vacation | school | working_time_account | holiday | other | parental_leave | sick_child | … (siehe clockin-Doku) |