course_contents
Get course sections and modules in student view order. Identify activities by cmid to review or manage course content.
Instructions
Sections of a course and the modules in each one: what the students see, in the order they see it. The 'cmid' identifies an activity.
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": "course_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseid | Yes | Course id from my_courses |