update_element
Modify properties of existing Excalidraw elements, such as position, size, colors, text, and style, to refine or update diagrams programmatically.
Instructions
Update an existing Excalidraw element
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": {
"id": "<id>"
},
"name": "update_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backgroundColor | No | ||
| fontFamily | No | ||
| fontSize | No | ||
| height | No | ||
| id | Yes | ||
| opacity | No | ||
| roughness | No | ||
| strokeColor | No | ||
| strokeWidth | No | ||
| text | No | ||
| type | No | ||
| width | No | ||
| x | No | ||
| y | No |