Edit Diagram
edit_excalidrawEdit an existing Excalidraw diagram with natural language instructions. Modifies the diagram based on your instructions and regenerates. Requires diagram_id from a previous create_excalidraw response.
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>",
"instructions": "<instructions>"
},
"name": "edit_excalidraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagram_id | Yes | The diagram_id from a previous create_excalidraw response. MUST be from the actual response. | |
| instructions | Yes | Natural language instructions describing what to change (e.g. 'add more detail to the flowchart', 'change colors to blue theme') |