get_absences
Retrieve absence records for a student from the last N days. Optionally filter by student name and school to narrow results.
Instructions
Get absence records from the last N days.
Args: since_days: How many days back to search (default 30) student_name: Optional student name to validate context (e.g. 'Jan Novak'). Searches all schools automatically. school: School subdomain (only needed with multiple schools and no student_name).
Returns: JSON array of absence records with date, type, text, author
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": "get_absences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| school | No | ||
| since_days | No | ||
| student_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |