Add elements to a Todrawn board
board_addAdd shapes, sticky notes, text, lines, arrows, tables and UML classes to a board from simple element specs, filling in board defaults. Returns new element ids so you can link them with connectors.
Instructions
Adds shapes, sticky notes, text, lines, arrows, tables and UML classes to a board. Each element is a simple spec with a type; everything not given gets the board's normal defaults. Typical sizes: shapes and boxes 180 x 96, sticky notes 180 x 180, tables 3 x 3 cells (96 wide columns), UML classes 240 wide, body text 18. Pick colours as #rrggbb; the default ink adapts to a light or dark board. Returns the new element ids; use board_connect to link boxes, notes and classes. Coordinates are board units (about one screen pixel at 100% zoom); x grows right and y grows DOWN, the origin is arbitrary and boards are unbounded. Read the board first and place new content next to the current content bounds rather than on top of it. Leave about 40 units between elements. For freehand drawings use board_draw. 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>",
"elements": "<elements>"
},
"name": "board_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Board id (a UUID) from board_list or board_create. | |
| elements | Yes | Elements to add, in drawing order (later ones draw on top). |