Download All Course Files
download_all_course_filesDownload every accessible file from a Canvas course to local disk, with optional MIME-type filters and a max_files limit (default 50).
Instructions
Download every file you can access in a course to local disk, up to max_files (default 50). Writes local files only; nothing changes in Canvas. Can take many requests and a lot of disk space; use download_file for one 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>"
},
"name": "download_all_course_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_dir | No | Folder to save into: the server's download folder (CANVAS_DOWNLOAD_DIR) or a folder inside it, such as "week1". Anywhere else is refused. Leave it out to use the download folder itself. | |
| course_id | Yes | Canvas course ID, a numeric string such as "12345". Get it from list_courses. | |
| max_files | No | Default 50 | |
| content_types | No | Optional MIME types to include, e.g. ["application/pdf"]. Omit for every file. |