canvas_download_file
Download a Canvas course file to a local destination path using the file URL from canvas_list_course_files. Specify a destination inside the download directory to save the file.
Instructions
Download a Canvas file to disk. url is the absolute URL from canvas_list_course_files (only file URLs on the configured Canvas host are accepted); destinationPath is required and must be inside the download directory (CANVAS_OUTPUT_DIR, default ~/Downloads).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The url field returned by canvas_list_course_files (an https /files/ URL on the configured Canvas host; anything else is refused). | |
| overwrite | No | ||
| destinationPath | Yes | Where to write the file. Must be inside the download directory (CANVAS_OUTPUT_DIR, default ~/Downloads); a relative path is resolved against it. |