Read absences
absences_listLists current and upcoming absences of flat members, ordered by start date. Use it to see who is away and to get absence IDs for removal.
Instructions
List the absences of flat members that are running or still ahead (an absence stays listed until its end date has passed, counted in Berlin time), ordered by start. Use it to see who is away; use events_list for flat calendar events, absence_create to record a new absence and absence_delete to remove one. Each entry has id, memberId, memberName, startDate, endDate (ISO 8601) and reason (text or null); the id is what absence_delete needs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "absences_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. |