get_learning_groups
List enrolled courses and learning groups with subject, course code, semester, and teacher. Use it to find responsible teachers or resolve teacher abbreviations.
Instructions
Return the learning groups (Lerngruppen) the user belongs to.
Fetches all learning groups/courses the authenticated user is enrolled in, including subject name, course code, semester, and teacher information.
Use this tool to:
List all courses/subjects the user is enrolled in
Look up which teacher is responsible for a given subject or course
Resolve teacher abbreviations to full names (the teacher field contains both the full name and the abbreviation used in substitution plans)
Args: response_format: Output format - 'markdown' (default) or 'json'.
Returns: List of learning groups. JSON schema: { "count": int, "groups": [ { "id": str, "semester": str, "course_name": str, "course_code": str, "teacher": str # full name and/or abbreviation } ] }
Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No learning groups found." if there are none
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_learning_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |