update_elements
Edit or delete specific Excalidraw elements by id and expected version while preserving other canvas changes; use isDeleted:true for removal.
Instructions
Edit or delete specific elements while preserving the user's other changes. Read first, then provide each target's id, version as expectedVersion, and only the fields to change. Changes to other elements do not conflict. To edit a shape label, target its bound text element; text also updates originalText. Use isDeleted:true to delete. If a target version changed, read again and merge only your intended fields.
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": {
"updates": "<updates>"
},
"name": "update_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes |