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.
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_parent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdomain | No |