Get Diagram
get_diagramFetch the current state of an existing CodePic diagram. Returns a compact summary of all elements with their IDs, types, positions, and parent-child relationships. Use this before update_diagram when you need to: add nested children to existing containers, make targeted edits to specific elements, or understand the current structure. Requires API Key authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document ID to fetch |