add_elements
Add shapes, arrows, and text to a live Excalidraw canvas using compact specs. Connect elements by referencing IDs or absolute points.
Instructions
Add elements to the drawing from compact specs. Shapes take x, y, width, height and an optional label. Arrows take start/end element ids (edges are computed) or absolute points. Later specs may reference ids of earlier specs in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes |