Draw shapes
shapeDraw rectangles, ellipses, polygons, paths, and other vector forms with fills, strokes, rotation, and hand-drawn brush outlines.
Instructions
Draw vector shapes: rect, ellipse, circle, polygon, polyline, line, star, regular polygon, arc, pie, or any SVG path. Each can have a fill (color / gradient / pattern), a crisp vector stroke, a HAND-DRAWN brush outline (brush), rotation, opacity, blend and drop shadow.
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": {
"shapes": "<shapes>"
},
"name": "shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Layer id, name, or index (0 = bottom, -1 = top). Default: the active layer. | |
| shapes | Yes | Shapes to draw in order | |
| target | No |