switch_to_student
Set the active session to a child's student account (parent accounts only) so later EduPage actions use that student's data. Revert by switching back to the parent account.
Instructions
Switch the session to a student account (parent accounts only). Writes: changes which account subsequent tools operate as.
Args:
student_id: person_id of the child (from get_my_students).
name: first/last/full name of the child, used when student_id is omitted.
subdomain: School to query (defaults to the active subdomain).
Returns: dict: {'switched_to_student': <person_id>, 'user_id': ...}.
Notes:
- Revert with switch_to_parent. Prefer the stateless
get_student_timetable (name/student_id) over switching when you
only need a timetable.
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": "switch_to_student"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| subdomain | No | ||
| student_id | No |