draw
Render and animate vector items on a browser sketch board—lines, shapes, SVG paths, text, dimensions, fills, and shaded 3D primitives—with shared endpoints joining as joints.
Instructions
Draw vector items on the board (lines, polylines, shapes, 3D primitives box/cylinder/cone/sphere/pyramid/prism with shaded faces, dashed hidden edges and centre lines, freehand, SVG paths, text — including text along a path — parametric dimensions, and region fills that follow their outline). Endpoints that share coordinates become joined joints. Items animate in so the user can watch.
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": {
"items": "<items>"
},
"name": "draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| label | No | undo-history label | |
| layer | No | Layer id, exact name, or index (0 = bottom). Defaults to the active layer. | |
| animate | No | ||
| new_layer | No | create a new layer with this name and draw on it |