Fill a rectangle
texture_fill_rectFills a rectangular region of a texture with a single color, or clears it to transparent.
Instructions
Fills a rectangle of the texture with one colour (or clears it).
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>",
"w": "<w>",
"h": "<h>",
"color": "<color>"
},
"name": "texture_fill_rect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| color | Yes | "#rrggbb", "#rrggbbaa", or "clear" / null for transparent |