List Submission Attachments
list_submission_attachmentsView files attached to your Canvas assignment submission, including file names, sizes, and download URLs. Use these URLs to save a file with the download tool.
Instructions
List files attached to your submission for one assignment, with names, sizes and download URLs. Read-only. Pass a URL from here to download_submission_attachment to save a file.
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": {
"course_id": "<course_id>",
"assignment_id": "<assignment_id>"
},
"name": "list_submission_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | Canvas course ID, a numeric string such as "12345". Get it from list_courses. | |
| assignment_id | Yes | Assignment ID (numeric string). Get it from list_assignments or list_upcoming_assignments. |