directory_tree
Inspect the directory structure of a registered project within a safe depth limit, automatically excluding sensitive files for secure code exploration.
Instructions
List a bounded directory tree inside a registered workspace while hiding sensitive 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": {
"projectId": "<projectId>"
},
"name": "directory_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| maxDepth | No | ||
| projectId | Yes |