moodle_course_contents
Retrieve all sections, activities, resources, dates, files, links, and section text for a Moodle course by course ID. Use it to view weekly readings, class notes, and course structure from chat.
Instructions
Every section of a course with its activities/resources (cmid, type, name, dates, files, links) and the section text (where teachers often put weekly readings and 'for next class' notes).
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": {
"course_id": "<course_id>"
},
"name": "moodle_course_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| include_descriptions | No |