get_course_contents
Get a complete overview of a Moodle course by ID: all sections, activities, and resources with type, name, and URL.
Instructions
Get all sections and activities/resources in a course.
Args: course_id: The Moodle course ID.
Returns: JSON array of sections, each with a list of modules (activities and resources) including type, name, and URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |