fill_ellipse
Fill an elliptical region with a solid color using a bounding box and CSS, hex, or RGB color, with optional target layer and image selection.
Instructions
Fill an elliptical region with a solid color.
Parameters:
x, y: Top-left corner of the bounding box
width, height: Bounding box dimensions
color: Fill color (CSS name, hex, or rgb() string)
layer_name: Target layer; defaults to active layer
image_index: Target image index (default 0)
Returns status dict.
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>",
"width": "<width>",
"height": "<height>",
"color": "<color>"
},
"name": "fill_ellipse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| color | Yes | ||
| width | Yes | ||
| height | Yes | ||
| layer_name | No | ||
| image_index | No |