get_file
Retrieve file metadata and download URL from Canvas by providing a file ID. Returns name, size, type, timestamps, and direct link.
Instructions
Get file metadata and download URL.
Args: file_id: Canvas file ID
Returns: {id, display_name, size, content_type, url, created_at, updated_at}
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": "get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes |