get_calendar
Fetch school calendar events from Lanis for a date range and optionally include responsible person details to review schedules and plan around upcoming dates.
Instructions
Return calendar events from Lanis for a given date range.
Fetches school calendar events (Kalender) between the specified start and end dates.
Args: params (CalendarInput): Validated input parameters: - start (str): Start date as YYYY-MM-DD - end (str): End date as YYYY-MM-DD - response_format (str): 'markdown' (default) or 'json' - include_responsible (bool): If True, fetch the responsible person for each event. Warning: makes one extra API call per event.
Returns: Calendar events for the date range. JSON schema: { "start": "YYYY-MM-DD", "end": "YYYY-MM-DD", "count": int, "events": [ { "title": str, "description": str, "place": str, "start": "YYYY-MM-DD HH:MM", "end": "YYYY-MM-DD HH:MM", "whole_day": bool, "responsible": str # only present when include_responsible=True } ] }
Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No events found ..." if calendar is empty
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": {
"params": "<params>"
},
"name": "get_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |