File Download Tools¶
Configuration File: file_download_tools.json
Tool Type: Local
Tools Count: 3
This page contains all tools defined in the file_download_tools.json configuration file.
Available Tools¶
download_binary_file (Type: BinaryDownloadTool)¶
Download binary files (images, videos, executables) with chunked streaming for better memory mana…
download_binary_file tool specification
Tool Information:
Name:
download_binary_fileType:
BinaryDownloadToolDescription: Download binary files (images, videos, executables) with chunked streaming for better memory management. Optimized for large files.
Parameters:
url(string) (required) HTTP or HTTPS URL to download fromoutput_path(string) (required) Full path where to save the binary file (e.g., /tmp/image.jpg or C:UsersDownloadsvideo.mp4)chunk_size(integer) (optional) Download chunk size in bytes (default: 1MB for binary files)timeout(integer) (optional) Request timeout in seconds
Example Usage:
query = {
"name": "download_binary_file",
"arguments": {
"url": "example_value",
"output_path": "example_value"
}
}
result = tu.run(query)
download_file (Type: FileDownloadTool)¶
Download files from HTTP/HTTPS URLs with cross-platform support (Windows, Mac, Linux). Similar to…
download_file tool specification
Tool Information:
Name:
download_fileType:
FileDownloadToolDescription: 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.
Parameters:
url(string) (required) HTTP or HTTPS URL to download from (e.g., https://example.com/file.txt)output_path(string) (optional) Optional path to save the file. If not specified, file will be saved to system temp directory.timeout(integer) (optional) Request timeout in secondsreturn_content(boolean) (optional) If true, return file content as text instead of saving to disk (default: false)chunk_size(integer) (optional) Download chunk size in bytes (default: 8192)follow_redirects(boolean) (optional) Follow HTTP redirects (default: true)
Example Usage:
query = {
"name": "download_file",
"arguments": {
"url": "example_value"
}
}
result = tu.run(query)
download_text_content (Type: TextDownloadTool)¶
Download and return text content from URLs. Optimized for text files with automatic encoding dete…
download_text_content tool specification
Tool Information:
Name:
download_text_contentType:
TextDownloadToolDescription: Download and return text content from URLs. Optimized for text files with automatic encoding detection.
Parameters:
url(string) (required) HTTP or HTTPS URL to download text fromencoding(string) (optional) Text encoding (e.g., utf-8, latin1). Auto-detected if not specified.timeout(integer) (optional) Request timeout in seconds
Example Usage:
query = {
"name": "download_text_content",
"arguments": {
"url": "example_value"
}
}
result = tu.run(query)