Get My Context
get_my_contextRead-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, sign-in account email, account region, server environment, 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, admin-role checks come from roles, and email/region/environment answer which account is signed in. 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 |
|---|---|---|---|
| No | Sign-in account email (the caller's own) | ||
| roles | No | Role codes the user holds at the active school | |
| region | No | Region of the signed-in account | |
| 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 | |
| environment | No | Server environment - production, or dev for staging and development |