architecture_map
Group files into architecture communities from call and dependency graphs, showing internal and boundary edges and central hubs. Get a directory-independent view of subsystems and key functions.
Instructions
Read-only. Map the codebase's architecture: deterministic file communities over the call + dependency graph, each with internal/boundary edge counts and its call-graph hubs (labels are graph-derived member names, never generated prose). A directory-independent 'what are the big pieces' view — use communities for function-level subsystems and hubs for the central functions. All params optional; paginate communities with offset and files with file_offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | text (compact, default) | json (structured result page) | |
| offset | No | community offset for paging | |
| file_offset | No | file offset within each community for paging | |
| component_depth | No | path-prefix depth used to group files into components | |
| max_communities | No | maximum communities returned | |
| max_files_per_community | No | maximum files listed per community |