Forum discussions
get_forum_discussionsLists recent discussions from a Moodle course's forums, including subject, author, date, reply count, and preview text; optionally filter by part of a forum name.
Instructions
Answers 'what are people discussing in the Networking Basics forum?' Lists the latest discussions in the forums of one course, with subject, author, date, reply count and the start of the text, up to 5 discussions from each of up to 5 forums. Announcement forums are left out, use get_announcements for those. A forum the school server will not open is named at the end and the rest still shows. Input: course_id from get_my_courses, and an optional forum_name, part of a forum name, to pick one forum. Ask: 'What are people discussing in the Networking Basics forum?'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | Moodle course ID. Use get_my_courses to find it. | |
| forum_name | No | Part of the forum name. Leave out to read the first forums of the course. |