draw
Draw on a board: boxes (rectangle, ellipse, diamond), text, arrows between two shapes, and frames that hold shapes under a name. Everyone with the board open sees it at once. Give shapes your own short ids to join them with arrows and put them in frames in the same call. Leave out x and y, and the board lays new shapes out along their arrows, below what is already there. A box sizes itself to its text unless you give a width and height, and a frame wraps the shapes in it.
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": {
"board": "<board>",
"shapes": "<shapes>"
},
"name": "draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | Yes | The board's id, as in its URL. | |
| shapes | Yes | ||
| direction | No | Which way arrows run between the shapes the board places: right unless given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Each shape's id, in the order given. |