flood_fill
Fill a contiguous region from specified (x, y) coordinates with a hex color, or set color to null to erase that region.
Instructions
Flood fill a contiguous region starting at (x, y) with the given hex color (or null to erase).
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": {
"x": "<x>",
"y": "<y>",
"color": "<color>"
},
"name": "flood_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| color | Yes | ||
| layerIndex | No |