get_roster
Retrieve a school roster—students, teachers, classes, classrooms, or subjects—for the active or specified subdomain. Read-only data for scheduling and account queries.
Instructions
Get a school roster: students, teachers, classes, classrooms or subjects. Read-only.
Args:
roster_type: Which roster to return:
- 'students' — students in the logged-in user's class
(formerly get_students).
- 'all_students' — a short list of all students in the school
(formerly get_all_students).
- 'teachers' — all teachers (formerly get_teachers).
- 'classes' — all classes (formerly get_classes).
- 'classrooms' — all classrooms (formerly get_classrooms).
- 'subjects' — all subjects (formerly get_subjects).
subdomain: School to query (defaults to the active subdomain).
Returns: dict keyed by the roster name, e.g. {'subdomain': ..., 'teachers': [...], ...}.
Notes:
- For the students visible to the logged-in account (parents: their
linked children; students: classmates) prefer get_my_students.
- To look one student up by name use find_student.
- Returned person/class ids feed get_timetable (target_type/target_id)
and switch_to_student.
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": {
"roster_type": "<roster_type>"
},
"name": "get_roster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdomain | No | ||
| roster_type | Yes |