get_course_contents
Retrieve all sections, modules, and resources for a specified Moodle course using its course ID to inspect and access course materials.
Instructions
Get all contents (sections, modules, resources) of a specific 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": {
"courseId": "<courseId>"
},
"name": "get_course_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The ID of the course |