draw_ellipse
Draw an ellipse on the Aseprite canvas using a center point and independent x/y radii, with optional fill and preview. Each call applies one undo step.
Instructions
Draw an ellipse centered at (center_x, center_y) with independent x/y radii.
fill true fills it. One undo step. Headless: pass file.
preview true also returns a before/after picture of the canvas with the changed-pixel count and bbox.
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": {
"center_x": "<center_x>",
"center_y": "<center_y>",
"radius_x": "<radius_x>",
"radius_y": "<radius_y>",
"color": "<color>"
},
"name": "draw_ellipse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| fill | No | ||
| color | Yes | ||
| preview | No | ||
| center_x | Yes | ||
| center_y | Yes | ||
| radius_x | Yes | ||
| radius_y | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |