gimp.draw_polyline
Draw a pixel polyline on a GIMP drawable by providing an array of point coordinates, with options for color and brush size.
Instructions
Draw a deterministic pixel polyline on a drawable.
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": {
"drawable_id": "<drawable_id>",
"points": "<points>"
},
"name": "gimp.draw_polyline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drawable_id | Yes | ||
| points | Yes | ||
| color | No | CSS color string, [r,g,b], [r,g,b,a], or {r,g,b,a}. | |
| brush_size | No |