Update elements on a Todrawn board
board_updateUpdate existing board elements by ID with partial fields, preserving unchanged data and applying validated changes live for all viewers.
Instructions
Changes existing elements by id. Give only the fields to change; the rest of the element is kept. Fields use the same names as board_add (x, y, width, height, stroke, fill, strokeWidth, dash, label for a box, text for sticky and text elements, name/attributes/methods for a umlClass, cells for a table, points for a line or arrow, color for text and lines). Set fill or dash to null to remove it. Connectors accept routing, relation, stroke, strokeWidth, dash, fromPort and toPort; freehand strokes accept color, width and dash. An element's type cannot change. The element is read, merged and validated before anything is sent. Changes appear live for everyone who has the board open.
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": {
"boardId": "<boardId>",
"updates": "<updates>"
},
"name": "board_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Board id (a UUID) from board_list or board_create. | |
| updates | Yes |