download_files
Download multiple files from URLs to your local filesystem with configurable timeout and file size limits. Specify output directory and manage batch downloads efficiently.
Instructions
Download multiple files from URLs and save to local filesystem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_size_mb | No | Maximum file size in MB (default: 500) | |
| output_dir | No | Directory to save downloaded files | |
| timeout | No | Download timeout in seconds | |
| urls | Yes | List of URLs to download |
Input Schema (JSON Schema)
{
"properties": {
"max_size_mb": {
"default": 500,
"description": "Maximum file size in MB (default: 500)",
"maximum": 5000,
"minimum": 1,
"title": "Max Size Mb",
"type": "integer"
},
"output_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Directory to save downloaded files",
"title": "Output Dir"
},
"timeout": {
"default": 60,
"description": "Download timeout in seconds",
"maximum": 300,
"minimum": 1,
"title": "Timeout",
"type": "integer"
},
"urls": {
"description": "List of URLs to download",
"items": {
"type": "string"
},
"title": "Urls",
"type": "array"
}
},
"required": [
"urls"
],
"type": "object"
}