get_material
Retrieve metadata and any text content for a course material by ID. Supports Nexus pages, books, files, links, and PDFs.
Instructions
Metadata for one material plus its content when it is text-bearing (Moodle pages, books, text/HTML files, external links, and PDFs when the optional pdf extra is installed). material_id is the id from search_course_materials or a course-module id (cmid); folder files use "/".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||