read_file
Retrieve the contents of a specific Canvas course file by file ID or file name, using course ID or course name to locate it.
Instructions
Read the content of a specific Canvas file
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | The Canvas file ID (optional if fileName is provided) | |
| courseId | No | The Canvas course ID (numeric) | |
| fileName | No | The file name to search for (optional if fileId is provided) | |
| courseName | No | The course name (e.g., "Art 113N", "CMPEN 431"). If provided, courseId is not required. |