analyze_codebase
Build a code graph and gain project-wide insights: file counts, language distribution, complexity, and architecture. Run first to enable further analysis.
Instructions
š Perform comprehensive codebase analysis with metrics and structure overview.
šÆ PURPOSE: Builds the foundational code graph and provides project-wide insights including file counts, language distribution, complexity metrics, and architectural overview. š§ USAGE: Run this FIRST before using other analysis tools - it builds the code graph that powers all subsequent operations. ā” PERFORMANCE: Expensive operation (10-60s for large codebases) - results are cached for subsequent tool calls. Progress is shown during analysis. š WORKFLOW: analyze_codebase ā specific analysis tools (find_definition, complexity_analysis, etc.) ā insights and recommendations. š” TIP: Use rebuild_graph=true only if code has changed significantly since last analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rebuild_graph | No | Force rebuild of code graph (use only if code has changed significantly) |