list_enrollments
Retrieve enrollments for a course, filtering by enrollment type or state to view specific participant groups.
Instructions
List enrollments in a course
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": "list_enrollments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by enrollment type | |
| state | No | Filter by enrollment state | |
| per_page | No | Number of results per page (default 50) | |
| course_id | Yes | Course ID |