Course content
get_course_contentLists course sections, activities, and files with intro text and safe links so you can see what materials are posted in a Moodle course.
Instructions
Answers 'what's in this course?' Lists the sections of one course, such as weeks or topics, with up to 40 activities in each, such as pages, quizzes and forums. Each activity shows its intro text when the course has one, such as assignment instructions, label text or a page summary. Each file shows its name and a link with your key removed, so the link is safe to show in a chat and get_file can still open it. Input: course_id, the ID from get_my_courses. Ask: 'What materials are posted in Networking Basics?'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | Moodle course ID. Use get_my_courses to find it. |