update_elements
Modify existing diagram elements by sending only changed fields, either as a list with ids or a patch applied across multiple ids.
Instructions
Change named fields on existing elements. Send only what changes - {id, x: 40} moves one box and leaves its other 25 fields alone. Pass a list in elements, each carrying its id, or use ids + patch to apply one change across many.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| label | Yes | Short description of what this change is doing, e.g. 'add the dog illustration'. Shown next to the snapshot in the history sidebar, which is how the user decides whether to keep or revert it. Always set it. | |
| patch | No | ||
| scene | Yes | Scene id, exact name, or a unique part of the name. Use list_scenes if unsure. | |
| elements | No | Partial elements, each with an `id` and the fields to change. |