canvas_list_courses
List the Canvas courses available to the authenticated instructor and return course IDs needed for other tools. Filter by enrollment state or role to find active, completed, or pending courses.
Instructions
List the courses the authenticated user can see.
Start here when you do not know the course id. The id in the output is what every other tool's course_id parameter wants.
Args: enrollment_state: active (default), completed, or invited_or_pending. enrollment_type: filter by your role — teacher, ta, student, observer, designer. Empty for all roles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enrollment_type | No | ||
| enrollment_state | No | active |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |