edit_diagram
Modify a local Draw.io diagram by adding, updating, or deleting cells using their unique IDs.
Instructions
Edit the current local .drawio file by ID-based add/update/delete operations. get_diagram is recommended but not required.
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": {
"operations": "<operations>"
},
"name": "edit_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operations | Yes |