brush_draw
Draw or erase freehand strokes on a canvas using pencil, spray, circle, or eraser styles. Set color, size, opacity, and point coordinates to create custom brush paths.
Instructions
Executes freehand brush drawing on the canvas with specific brush style ("pencil", "spray", "circle", "eraser"), color, size, and path coordinates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "brush_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Brush stroke thickness in pixels | |
| color | No | Brush color in hex or rgba | #6C5CFF |
| points | No | Array of points [{x, y}, ...] | |
| opacity | No | Opacity percentage (1-100) | |
| brushStyle | No | pencil |