Connect elements on a Todrawn board
board_connectConnect existing board elements by ID with persistent connectors that stay attached when elements move; set ports, routing, styles, and UML relationships.
Instructions
Draws connectors between existing elements by id; they stay attached when the elements move. Connectors attach to box, sticky and umlClass elements only (use an arrow element between other shapes, or give a free point {x, y} as an end). Ports default to the sides that face each other. relation gives UML arrowheads (inheritance, aggregation, composition, dependency). A connector cannot carry a label; to caption one, add a text element near it with board_add. The board is read first to check the ids exist. 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>",
"connections": "<connections>"
},
"name": "board_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boardId | Yes | Board id (a UUID) from board_list or board_create. | |
| connections | Yes |