Get File Public URL
get_file_public_urlGenerate a temporary public download link for a Canvas file so anyone with the link can download it without logging in.
Instructions
Get a temporary public download link for a file that works without logging in. Read-only, but anyone with the link can download the file until it expires.
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_public_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID (numeric string). Get it from list_course_files, list_my_files or list_group_files. |