Get My Context
get_my_contextRetrieves the signed-in user's Paxaver account context, including identity, school role, guardian students, assistant mode, and wallet permissions, so tools can resolve required IDs and permissions.
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, sign-in account email, account region, server environment, active school, the students they are a guardian for, their role codes at that school, the assistant mode (parent or child), and whether the account allows assistants to pay from its wallet. This is the context-discovery call - most other tools need a student_id or school_slug from here, admin-role checks come from roles, email/region/environment answer which account is signed in, and assistantMode/assistantWalletSpend tell the model what it may do. A child credential reports assistantMode 'child', only the bound student, no email or roles, and assistantWalletSpend false. 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 | |
| assistantMode | No | Assistant mode - 'parent' for the account holder, 'child' for a read-only child credential | |
| assistantWalletSpend | No | Whether the account allows assistants to pay from its wallet; false means drafts must be paid in the Paxaver app |