download_image
Download an image from a URL to local cache with size limits and security checks. Returns the cached file path for safe, attribution-aware use.
Instructions
Download an image URL (typically from a prior search_images result) to the local disk cache. Streams with a 20MB hard cap, content-type guard, SHA-256 hash, and returns the cached file path. Host blocklist enforced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| maxBytes | No | ||
| cacheDir | No |