hue_check_directory_exists
Verify if a specified directory exists in HDFS to confirm file system structure before operations.
Instructions
Check if a directory exists in HDFS.
Args:
directory_path: The HDFS directory path to check
Returns:
True if the directory exists, False otherwise
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_check_directory_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |