Download Submission Attachment
download_submission_attachmentDownload one file attached to a Canvas submission and save it to local disk, returning the saved path; use a URL from list_submission_attachments.
Instructions
Download one file attached to your submission and save it to local disk. Returns the saved path. Get the URL from list_submission_attachments.
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": {
"url": "<url>"
},
"name": "download_submission_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Download URL of the attachment: the attachments[].url field from list_submission_attachments or get_my_submission. It must be an address on your Canvas. | |
| filename | No | File name to save as. Defaults to the attachment's own name. |