fill_area
Flood fill an enclosed region from a specified point with a given color, supporting optional tolerance, layer, and frame parameters.
Instructions
Flood fill an area starting from a point (like paint bucket tool).
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": "fill_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| color | Yes | {r,g,b,a} | |
| frame | No | ||
| layer | No | ||
| tolerance | No | Color tolerance 0-255 (default: 0 = exact match) |