fill_area
Fill connected pixel areas with color using paint bucket functionality for pixel art projects.
Instructions
Fill a connected area with a color (paint bucket)
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": {
"projectId": "<projectId>",
"x": "<x>",
"y": "<y>",
"color": "<color>"
},
"name": "fill_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project identifier | |
| layerIndex | No | Layer index (default: 0) | |
| frameIndex | No | Frame index (default: 0) | |
| x | Yes | X coordinate to start fill | |
| y | Yes | Y coordinate to start fill | |
| color | Yes | Fill color in hex format |