Course modules
get_course_contentRetrieve Canvas course's ordered modules and items—files, pages, links, assignments, quizzes, discussions, headers—with lock dates, prerequisites, completion rules, and recent changes.
Instructions
A course's modules and their items (files, pages, outside links, assignments, quizzes, discussions, and text headers) in order, with lock/unlock dates, prerequisites, completion requirements, last-updated dates, what changed since the student last looked, and the call that reads each item. Text headers (SubHeaders) often carry syllabus links, recording links and instructions.
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": {
"courseId": "<courseId>"
},
"name": "get_course_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | ||
| maxDepth | No | Hide items indented deeper than this | |
| moduleTitle | No | Only modules whose name contains this |