draw_rectangle
Draw a filled or outlined pixel-art rectangle on the active Aseprite layer by specifying position, dimensions, and color. Use the fill option to switch between solid and outline shapes.
Instructions
Draw a filled or outlined pixel-art rectangle on the active Aseprite layer.
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": {
"filename": "<filename>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>",
"color": "<color>"
},
"name": "draw_rectangle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| fill | No | ||
| color | Yes | ||
| width | Yes | ||
| height | Yes | ||
| filename | Yes |