Get Learner Context
get-contextLoad the learner's profile, followed courses, and projects. Use get-project-state for what is inside a project. Per-topic practice scores are included only when one course is in scope; otherwise use get-course-mastery.
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-context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | No | Return only this course and its projects. Numeric id or the same id as text. Example: 1581710 or "1581710". Omit to include every followed course. | |
| project_id | No | Return only this project. Example: "11111111-1111-4111-8111-111111111111". From an earlier get-context or create-project result. Omit to include the learner's projects. | |
| active_only | No | Optional true or false. It is echoed on the response and does not change which courses or projects are returned. Omit it. | |
| recent_only | No | Optional true or false. It is echoed on the response and does not change which courses or projects are returned. Omit it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| aggregates | No | ||
| generated_at | Yes | ||
| prompt_views | No | ||
| requested_filters | Yes | ||
| context_schema_version | Yes |