analyze_codebase
Analyze codebases to extract functions, classes, methods, and other symbols into LLM-optimized markdown for AI assistants to understand project structures efficiently.
Instructions
Analyzes a codebase and returns a comprehensive LLM-optimized markdown with all symbols (functions, classes, methods, interfaces, types, etc.) and their file paths. Respects .gitignore rules. Perfect for giving LLMs complete understanding of code structure in a single request.
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_codebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the codebase directory to analyze |