directory_tree
Recursively list files and directories in a JSON tree structure, showing name, type, and children for directories within allowed paths.
Instructions
Get a recursive tree view of files and directories as a JSON structure. Each entry includes 'name', 'type' (file/directory), and potentially 'children' for directories. Only works within allowed directories:
/app
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the directory (default: current shell directory) |