download_image
Download an image from a URL to a local directory. Returns the saved file path.
Instructions
Download an image from a URL to the local machine. Returns the local file path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the image to download | |
| filename | No | Optional filename for the downloaded image. If not provided, will use the original filename from the URL. | |
| download_dir | No | Directory to save the image (default: ./downloads) | ./downloads |