canvas_list_enrollments
Lists enrollments in a Canvas course and filters by type (student, teacher, TA, observer) to identify course participants.
Instructions
List enrollments in a course, optionally filtered by type (student, teacher, ta).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"course_id": "<course_id>"
},
"name": "canvas_list_enrollments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by enrollment type | |
| course_id | Yes | The Canvas course ID |