learnus_list_files
Discover downloadable course materials, PDFs, and attachments by course ID, returning file IDs and Moodle completion states for safe access.
Instructions
Discovers safe downloadable course materials, PDFs and attachments and returns opaque fileIds plus Moodle completion state. Use when the user explicitly asks for course files, lecture materials, PDFs, attachments or downloads. Do not use it to download arbitrary URLs or to assume an existing/new file still needs review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Where to discover files: course activities, assignment pages, announcement pages, or all supported sources. | |
| refresh | No | When true, bypass the feature cache and read fresh LearnUs data. | |
| courseId | Yes | Exact Moodle course ID returned by a LearnUs course tool. |