canvas_list_sections
List a Canvas course's sections with enrollment counts to handle section-level due dates, lab subsections, or targeted section enrollments.
Instructions
List a course's sections with their enrollment counts.
Sections matter for anything scoped to part of a roster — section-level due dates, a lab subsection, or enrolling someone into one specific section rather than the course default.
Args: course_id: numeric course id; defaults to CANVAS_DEFAULT_COURSE_ID.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "canvas_list_sections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |