Course page
get_course_pageReads the text of course Page activities from a Moodle course, stripping HTML, so you can see what a page says. Optionally pick a page by title.
Instructions
Answers 'what does this course page say?' Reads the Page activities of one course, the pages listed as page in get_course_content, and returns their text with the HTML removed. Up to 5 pages are shown, each up to 20000 characters, and a longer page ends with [truncated]. Images and embedded media are not shown. Input: course_id, the ID from get_my_courses, and page_name, an optional word or phrase from the page title to pick one page; leave it out to read the first pages of the course. Ask: 'Read the Week 2 reading page in Networking Basics.'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | Moodle course ID. Use get_my_courses to find it. | |
| page_name | No | Part of the page title, as shown in get_course_content. Leave out to read the first pages. |