directory_tree
Create a plain text tree structure of any directory by specifying its path. This tool helps visualize directory hierarchies for easier navigation and management within secure filesystem operations.
Instructions
Generate a plain text tree structure of a directory.
Args: path (str): Directory path to generate tree for (absolute or relative to allowed directories)
Returns: str: Plain text representation of directory tree, or error message if failed
Input Schema
Name | Required | Description | Default |
---|---|---|---|
path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"path": {
"title": "Path",
"type": "string"
}
},
"required": [
"path"
],
"type": "object"
}