Update draw.io diagram
update_diagramAdd nodes/edges or update existing nodes in a draw.io diagram. Writes to a new file unless overwrite is enabled.
Instructions
Add nodes/edges or update a node in an existing draw.io file. Writes a separate output unless overwrite is explicitly enabled.
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": {
"input_path": "<input_path>",
"output_path": "<output_path>",
"operations": "<operations>"
},
"name": "update_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | ||
| input_path | Yes | ||
| operations | Yes | ||
| output_path | Yes |