Get architecture diagram
get_diagramRetrieve the raw internal representation and current version of a diagram to obtain correct node, group, and edge IDs before making edits.
Instructions
Fetch a diagram's raw IR (nodes, groups, edges with their real ids) and its current version. Call this before edit_diagram so your ops reference ids that actually exist and you pass the correct baseVersion. Returns { diagram, version }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagramId | Yes | The diagram to fetch. |