draw_rectangle_at
Draw a filled or outlined rectangle at specified coordinates on a chosen layer and frame in an Aseprite file, with color and fill options.
Instructions
Draw a filled or outlined rectangle on a named layer and animation frame.
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>",
"layer_name": "<layer_name>",
"frame_index": "<frame_index>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "draw_rectangle_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| fill | No | ||
| color | No | #000000 | |
| width | Yes | ||
| height | Yes | ||
| filename | Yes | ||
| layer_name | Yes | ||
| frame_index | Yes | ||
| create_if_missing | No |