canvas_module_file_content
Extracts readable text from a Canvas module file item or linked Google Drive, Dropbox, GitHub, or direct file using Canvas IDs, with pagination, character limits, and ZIP entry selection.
Instructions
Read the TEXT of a module item: a Canvas File item (same as canvas_file_content), or an ExternalUrl item linking to a file on another site: Google Docs, Slides and Sheets, Google Drive files, Dropbox files and folders, GitHub files and repositories, or a direct link to a PDF/Office/ZIP/code file. Google and Dropbox files must be shared publicly ("Anyone with the link"). Takes Canvas IDs only, never a URL. Same text options as canvas_file_content (offset, max_chars, entry for ZIPs). For the original file itself use canvas_module_file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | No | ZIP only: path of one file inside the archive, exactly as shown in the listing. | |
| offset | No | Character to start reading from; pass next_offset from the previous call to continue. | |
| item_id | Yes | Module item id, from canvas_module_items. | |
| course_id | Yes | Canvas course id, from canvas_courses. | |
| max_chars | No | Most characters of text to return in this call (default 20000). | |
| module_id | Yes | Module id, from canvas_modules. |