Update a diagram
update_diagramUpdate a diagram's title, visibility (public/private), or XML without touching other fields. Pass only what needs changing; validation and sanitization handled automatically.
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"diagram_id": "<diagram_id>"
},
"name": "update_diagram"
}
}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 |