Scan local codebase
scan_local_codebaseScan a directory to generate a dependency graph with files, symbols, imports, inferred call graph, community clustering, and structural analysis for code understanding.
Instructions
Recursively scan a directory and build a dependency graph: files, top-level symbols, import edges, an inferred call graph (with EXTRACTED/INFERRED/AMBIGUOUS confidence), community clustering, and structural analysis (hub/god nodes, import cycles, orphans). Default returns a compact summary; raw=true returns the full JSON map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative directory to scan. | |
| raw | No | Return full JSON map instead of summary. | |
| maxFiles | No |