Get a file
canvas_get_fileRetrieve file metadata and a direct download URL by providing a Canvas file ID. Get ready-to-use link for accessing course files.
Instructions
File metadata by id. The returned url is a ready-to-use download link.
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": {
"fileId": "<fileId>"
},
"name": "canvas_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Canvas numeric id |