canvas_list_modules
List course modules and their items to view a Canvas course's week-by-week outline. Use it to inspect structure before building or updating content.
Instructions
List course modules, optionally with their items — the course outline.
This is the fastest way to see how a course is actually structured week by week.
Args: course_id: numeric course id; defaults to CANVAS_DEFAULT_COURSE_ID. with_items: inline each module's items (default True). max_chars: bound on the returned payload (0 = the server default).
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_modules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | No | ||
| max_chars | No | ||
| with_items | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |