Update a diagram
update_diagramUpdate a diagram's metadata or XML: rename it, change visibility, or replace its XML. Pass only the fields you want to modify.
Instructions
Update a diagram's metadata or XML: rename it, change visibility (public/private — paid plans for private), or replace its XML. Pass only the fields you want to change. Free (no AI).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | Replace the diagram XML (validated + sanitized) | |
| title | No | New title | |
| is_public | No | true = public in the gallery, false = private (paid) | |
| diagram_id | Yes | The diagram id |