Ase Draw Rectangle
ase_draw_rectangleDraw filled or outlined rectangles onto pixel-art sprites in Pixelworks by providing sprite path, position, size, and color, with optional frame and layer targeting.
Instructions
Draw a rectangle (filled or outline).
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": {
"sprite_path": "<sprite_path>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"color": "<color>"
},
"name": "ase_draw_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| color | Yes | ||
| frame | No | ||
| layer | No | ||
| width | Yes | ||
| filled | No | ||
| height | Yes | ||
| sprite_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||