Back to catalog
Cortexa research tool·code data·file_download
Download File
Download files from HTTP/HTTPS URLs with cross-platform support (Windows, Mac, Linux). Similar to curl but platform-independent. Can save to specified path or temporary directory.
Livelast probed 2026-05-01 01:00Z· 90msCortexa
Status
The most recent probe succeeded. Safe to call from the agent today.
- Last probed
- 1d ago
- Last success
- 1d ago
- Last latency
- 90ms
Schema
JSON Schema the agent (or your API call) must match.
{
"additionalProperties": false,
"properties": {
"chunk_size": {
"default": 8192,
"description": "Download chunk size in bytes (default: 8192)",
"maximum": 10485760,
"minimum": 1024,
"type": "integer"
},
"follow_redirects": {
"default": true,
"description": "Follow HTTP redirects (default: true)",
"type": "boolean"
},
"output_path": {
"description": "Optional path to save the file. If not specified, file will be saved to system temp directory.",
"example": "/tmp/downloaded_file.txt or C:\\Users\\Downloads\\file.txt",
"type": "string"
},
"return_content": {
"default": false,
"description": "If true, return file content as text instead of saving to disk (default: false)",
"type": "boolean"
},
"timeout": {
"default": 30,
"description": "Request timeout in seconds",
"maximum": 300,
"minimum": 1,
"type": "integer"
},
"url": {
"description": "HTTP or HTTPS URL to download from (e.g., https://example.com/file.txt)",
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}Examples (1)
Default Download File call
public-safeinput
{
"chunk_size": 1,
"follow_redirects": false,
"return_content": false,
"timeout": 1,
"url": ""
}Expected response keys: success
Anonymous-safe example. Rate-limited; no sign-in required.
Identifiers
- Catalog ID
- tu_download_file
- Tool name
- download_file
- Added
- 2026-05-01 00:58Z
- Tags
- tooluniverse