Get My Context
get_my_contextRetrieve your own account context, including name, active school, guardian students, and role codes, to enable subsequent tool calls.
Instructions
Read-only lookup with no side effects - safe to call repeatedly. Requires authentication: returns only the caller's own context (never another user's data): first name, active school, the students they are a guardian for, and their role codes at that school. This is the context-discovery call - most other tools need a student_id or school_slug from here, and admin-role checks come from roles. Returns live account state, so call again if the user may have switched schools or had roles changed.
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_my_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | No | Role codes the user holds at the active school | |
| students | No | Students the user is guardian for (id, firstName, schoolSlug) | |
| firstName | No | User first name | |
| schoolName | No | Active school display name | |
| schoolSlug | No | Active school slug |