read_course_file
Retrieve and extract text from any Canvas course file, including scanned PDFs via OCR, Word, PowerPoint, Excel, and plain text. Provide course and file IDs to get the content.
Instructions
Download and read the text content of a file from a Canvas course. Supports PDF (with OCR fallback for scanned PDFs), Word (.docx), PowerPoint (.pptx), Excel (.xlsx), and plain-text/HTML files. Use get_course_files to find file IDs.
Args: course_id: The numeric Canvas course ID. file_id: The numeric Canvas file ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | uchile | |
| file_id | Yes | ||
| course_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |