read_course_file
Extract text from Canvas course files in PDF, DOCX, or plain text format. Supply the course identifier and file ID to get the file's content.
Instructions
Fetch a course file's content and return extracted text. Supports PDF, DOCX, and plain text. Find file_id via list_course_files.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"course_identifier": "<course_identifier>",
"file_id": "<file_id>"
},
"name": "read_course_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| course_identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |