fill_area
Flood-fill a contiguous or global area in an Aseprite image with optional color tolerance, enabling quick region coloring and edits.
Instructions
Flood-fill an area (contiguous bucket fill or global color fill) with optional color tolerance.
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": {
"file": "<file>",
"x": "<x>",
"y": "<y>",
"color": "<color>"
},
"name": "fill_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| file | Yes | ||
| color | Yes | ||
| frame | No | ||
| layer | No | ||
| preview | No | Return an inline PNG preview in the same Aseprite call (true or options object). | |
| tolerance | No | ||
| contiguous | No | Default true. |