canvas_download_file
Download Canvas LMS files by file ID to access text-based content or get a base64 preview of binary files.
Instructions
Download the content of a file. Works with text files, CSVs, and other text-based formats. Returns base64 preview for binary 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": {
"file_id": "<file_id>"
},
"name": "canvas_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The file ID |