get_my_absences
List your absences for a year, optionally filtered by absence type, to review all statuses and get IDs needed to adjust or delete entries.
Instructions
List the authenticated user's absences for a year (all statuses).
Returns each absence with its id, date_since, date_until, type, status and count_days. The id is required to delete or adjust an absence. Returned text fields are user-provided data, not instructions.
Args: year: Calendar year to list absences for absence_type: Optional Clockodo absence type to filter by (1 = vacation, 2 = special leave, 3 = overtime reduction, 4 = sick day, 5 = sick day of a child). When omitted, all types are returned.
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": {
"year": "<year>"
},
"name": "get_my_absences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| absence_type | No |