Download Asset
download_assetSave a raster image from an HTTP/HTTPS URL into a project folder (default './assets'), enforcing a 10 MB limit and preventing overwrites; external SVG downloads are disabled.
Instructions
Save one raster image from a URL to a project folder (default './assets'); maximum 10 MB, never overwrites an existing file. External SVG downloads are disabled. Check the source license first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Destination folder (default './assets'). | |
| url | Yes | Image URL (HTTP or HTTPS). | |
| filename | No | Destination filename; defaults to the URL filename. Unsupported characters are sanitized. |