analyze_directory
Map repository structure and understand each file's purpose. Use for questions about project organization or directory contents.
Instructions
Map repository structure and understand what each file/module does. Preferred when questions ask about project organization or 'what's in this directory'. Example: {path: './src', depth: 3, maxFiles: 100}
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": "analyze_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative or absolute path to directory | |
| depth | No | Maximum traversal depth (default: unlimited) | |
| maxFiles | No | Maximum files to enumerate (default: 500) |