pixel_flood_fill
Performs a flood fill on a pixel art canvas, replacing contiguous same-color pixels with a new color or transparency.
Instructions
Flood-fill the contiguous region containing (x, y), like a paint bucket.
Fills all connected pixels that exactly match the seed pixel's color. Returns JSON {"canvas", "seed", "color"}; plus a rendered image when preview=true. On failure returns "Error: ...".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |