Show directory tree
directory_treeView a recursive two-level tree of folders and files from a given path to map directory structure. For deeper levels, use list_directory.
Instructions
Recursive tree view, 2 levels deep. One level: list_directory.
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": {
"path": "<path>"
},
"name": "directory_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |