Studocu Agent OS Context
get-contextReturn the unified Agent OS context manifest for the authenticated user: profile, followed courses, project metadata, and recent activity. Every project includes has_course_mastery and started_course_mastery (course supports Infinite Practice / learner has started it). Course mastery is visible only on projects, not followed_courses. Practised-topic detail (topic_masteries) is included only when a course is in scope (project_id, a sole remaining project, or remaining projects that share one course_id); the field is omitted when detail was not loaded. Empty topic_masteries means that course was loaded and the learner has no practised topics. Use get-course-mastery(course_id) for the practised-topic list when context omitted detail. Agent OS is read-only: chatting or calling this tool does not change mastery. Source of truth is Infinite Practice attempts (identity + course + topic); web IP writes, ACE/mobile/Agent OS only read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | No | Narrow context to a single followed course and its projects. | |
| project_id | No | Narrow context to a single project by id. | |
| active_only | No | Limit the manifest to active context. | |
| recent_only | No | Limit the manifest to recently active context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| aggregates | No | ||
| generated_at | Yes | ||
| prompt_views | No | ||
| requested_filters | Yes | ||
| context_schema_version | Yes |