hue_download_directory
Download files from an HDFS directory to a local folder, with optional filtering by file pattern.
Instructions
Download all files from an HDFS directory.
Args:
directory_path: The HDFS directory path to download from
local_directory: Local directory to save files to (default: '.')
file_pattern: Optional regex pattern to filter files (e.g., '.*\.csv')
Returns:
OperationResult with list of downloaded files
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"directory_path": "<directory_path>"
},
"name": "hue_download_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory_path | Yes | ||
| local_directory | No | . | |
| file_pattern | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relevant path for the operation | |
| message | Yes | Status message | |
| success | Yes | Whether the operation succeeded |