Get architecture diagram
get_diagramFetch 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. |