moodle_download_file
Download a Moodle file activity (PDF, slides) to your local disk using the activity URL. Returns the saved path, name, MIME type, and size.
Instructions
Download a Moodle file activity (PDF, slides, ...) to local disk.
url is the activity URL from moodle_course (kind "Arquivo"/"Resource").
Saves into directory (default: $HEIDY_DOWNLOAD_DIR or ./downloads) and
returns the saved path, name, MIME type and size. Files up to 10 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||