fill_rect
Paint a solid rectangular area on a character's design layer using a hex/RGBA color, then refresh the body-under reference. Use it to add blocky pixel-art clothing shapes quickly.
Instructions
Fill a rectangle on design/layers/.png; refresh body-under ref.
color: hex / [r,g,b,a] / transparent. Overhang past body OK. Prefer this or paint_from_commands for blocky pixel-art clothing shapes.
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": {
"name": "<name>",
"slot": "<slot>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"color": "<color>"
},
"name": "fill_rect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | Yes | ||
| slot | Yes | ||
| color | Yes | ||
| scale | No | ||
| width | Yes | ||
| height | Yes | ||
| plan_id | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||