Architecture diagram
get_repo_diagramRetrieve a repository's architecture diagram to see where a bug sits before reading code, including parts, connections, commit, and optional bug placement.
Instructions
Return the latest architecture diagram of the connected repo: its parts (nodes with a label, group, repo path and one-line description), how they connect (edges), the commit it was drawn at, and whether a public page is published for it (url, outdated, indexable). diagram is null when none has been drawn yet: one is drawn from the console Repo page (one AI call per commit). overlay: true also returns the open bug reports and code findings placed on each part (by stack frames, fix files and finding paths). Optional projectId. Returns { diagram, publication } and, with overlay, overlay: { diagram_id, nodes, unplaced, frames_matched, considered } (null while there is no diagram). Works without codebase indexing. Read-only. Use to see where a bug sits in the app before reading code; use get_repo_digest for the code itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overlay | No | Also place the open bug reports and code findings on each part of the diagram | |
| projectId | No | Project UUID (defaults to configured project) (`project_id` is accepted too.) |