Get architecture
get_architectureRetrieve a high-level architecture overview of a project, including packages, dependencies, and structural clusters from call/import graph analysis. Optionally scope to a directory prefix.
Instructions
Get high-level architecture overview — packages, services, dependencies, and project structure at a glance. Includes 'clusters': Leiden community detection over the call/import graph, surfacing the de-facto modules (each with a label, member count, cohesion score, representative top_nodes, and the packages/edge_types that bind it) — use these to grasp the real architectural seams, which often cut across the folder layout. Optional path scopes analysis to nodes under that directory prefix (file_path).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Optional directory prefix to scope architecture (e.g. apps/hoa) | |
| aspects | No | Aspects to include. 'all' = everything; 'overview' = compact summary (all except file_tree); omit = all. | |
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||