Read a course file's text
canvas_read_fileDownload any Canvas file and extract its text content from PDF, Word, PowerPoint, Excel, HTML, or plain text. Use to read syllabi, lecture slides, and handouts by supplying the file ID.
Instructions
Download a Canvas file and extract its text — PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx), HTML, and plain-text formats. Use this to read syllabi, lecture slides, and handouts. file_id comes from canvas_list_files or a module item's content_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Canvas file ID | |
| max_chars | No | Cap on returned text; default 20000 |