list_course_users
List enrolled users for a specific Moodle course or all courses in a category, returning names, emails, roles, and last access details.
Instructions
List enrolled users in a specific Moodle course or across all courses in a specific LMS category. Provide exactly one of courseid, coursename, or categoryid. Returns user ID, full name, email, department, institution, last access timestamps, and enrollment roles. Category mode deduplicates overlapping users across courses before returning results. Use an exact category ID from list_categories when working at category scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _silo | No | INTERNAL: Silo filter injected by agent-edge. Not for direct use. | |
| limit | No | Maximum users to return | |
| offset | No | Pagination offset | |
| courseid | No | Moodle course ID | |
| categoryid | No | LMS category ID. Aggregates enrolled users across all courses in the category. | |
| coursename | No | Moodle course name for partial matching |