list_directory
List directory structure relative to the project path, showing a tree of files and directories with configurable depth.
Instructions
List directory structure relative to the project path. Returns a tree of files and directories.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Subdirectory path to list (relative to project path, optional) | |
| depth | No | Max depth to traverse (default: 2, optional) |