download_file
Download files from web URLs with redirect handling and browser fallback for JavaScript-heavy sites. Supports custom file naming and cross-platform compatibility.
Instructions
Download a file from URL (supports redirects and browser download)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filename | No | Save as filename (optional). Can be absolute path. | |
url | Yes | URL to download | |
use_browser | No | Force browser download method (for JavaScript-heavy sites). Default: false |
Input Schema (JSON Schema)
{
"properties": {
"filename": {
"description": "Save as filename (optional). Can be absolute path.",
"type": "string"
},
"url": {
"description": "URL to download",
"type": "string"
},
"use_browser": {
"default": false,
"description": "Force browser download method (for JavaScript-heavy sites). Default: false",
"type": "boolean"
}
},
"required": [
"url"
],
"type": "object"
}