analyze_project_structure
Analyzes project directory trees, generating a comprehensive structure overview with file metadata. Supports custom inclusion/exclusion patterns and summary file generation.
Instructions
Analyze project structure and generate a comprehensive overview
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": "analyze_project_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No | The path to the project directory to analyze. Defaults to current directory. | . |
| include_patterns | No | Glob patterns for files to include in analysis. Defaults to all files. | |
| exclude_patterns | No | Glob patterns for files/directories to exclude from analysis. Includes .claudeignore patterns if present. | |
| max_depth | No | Maximum directory depth to traverse during analysis. Prevents infinite recursion. | |
| generate_summary | No | Whether to generate a .treesummary file with the project structure overview. |