draw_ellipse
Draws a stroked ellipse outline on a GIMP layer for shape annotation or graphic design, using a bounding box with optional color, width, and target layer.
Instructions
Draw an ellipse outline (stroke only) on a layer.
Parameters:
x, y: Top-left corner of the bounding box
width, height: Bounding box dimensions
color: Stroke color; uses current foreground if omitted
line_width: Stroke width in pixels (default 2.0)
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>"
},
"name": "draw_ellipse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| color | No | ||
| width | Yes | ||
| height | Yes | ||
| layer_name | No | ||
| line_width | No | ||
| image_index | No |