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.
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 |