Read a diagram
diagram_getReads a diagram. The default outline: a header (id, title, revision, time, hash), the brief, recent versions, one element per line nested by container, and edges as 'id: from -> to'. view 'dsp' returns the scene JSON, 'mermaid' Mermaid to edit and send back to diagram_edit. revision or asOf reads an earlier version; knownRevision, only what changed since; elements, only those elements and their neighbors. Another workspace's diagram answers NOT_FOUND.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Diagram id or key | |
| asOf | No | 2026-06-30 (end of day, UTC) or ISO 8601 with an offset | |
| view | No | Default outline | |
| cursor | No | The last page's nextCursor | |
| elements | No | ||
| revision | No | Omit for the latest | |
| knownRevision | No |