create_personio_absence
Create an absence period, e.g. a vacation request (POST /v2/absence-periods). Required: person_id, absence_type_id (list_personio_absence_types), starts_from (ISO date-time). Optional: ends_at, half days (starts_half/ends_half: FIRST_HALF|SECOND_HALF), comment, substitute_id, skip_approval. For day-based types (unit DAY, e.g. vacation) use T00:00:00 times with starts_half FIRST_HALF and ends_half SECOND_HALF, as Personio stores them; end ≠ start and no other clock times (Personio: 'Partial day absence … not allowed'). Check the counted days with get_personio_absence_breakdown. The person needs an absence policy for the type ('No policy is assigned'). Approving is a human decision — needs approval.
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": {
"person_id": "<person_id>",
"absence_type_id": "<absence_type_id>",
"starts_from": "<starts_from>"
},
"name": "create_personio_absence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Kommentar | |
| ends_at | No | Ende (ISO) | |
| ends_half | No | Halber Tag am Ende: FIRST_HALF oder SECOND_HALF | |
| person_id | Yes | Personio-ID der Person | |
| starts_from | Yes | Beginn (ISO) | |
| starts_half | No | Halber Tag am Beginn: FIRST_HALF oder SECOND_HALF | |
| skip_approval | No | Genehmigung in Personio überspringen (nur wenn die Zeit im Quellsystem, z. B. clockin, schon freigegeben ist) | |
| substitute_id | No | Personio-ID der Vertretung | |
| absence_type_id | Yes | ID der Abwesenheitsart |