canvas_file
Read Canvas file metadata and its download URL by file ID; use file_content to extract text from supported files.
Instructions
Read file metadata and its Canvas-provided download URL. Use file_content to extract supported text.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | true: Canvas's unmodified JSON (UTC times, HTML). | |
| page | No | Page to fetch: a number, or the next_page value returned by the previous call. | |
| file_id | Yes | Canvas file id, from canvas_files, canvas_find_files or a module item. |