switch_to_parent
Restore the parent account session after switching to a child, so subsequent tools operate as the parent again.
Instructions
Switch the session back to the parent account (parent accounts only). Writes: changes which account subsequent tools operate as.
Args: subdomain: School whose session to restore (defaults to the active).
Returns: dict: {'switched_to_parent': True, 'user_id': ...}.
Notes:
- Pair with switch_to_student; only relevant after a parent session
was switched to a child.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdomain | No |