gimp_draw
Draw a stroke through image coordinates using a chosen GIMP tool, with optional closed path, color, size, opacity, layer, and image.
Instructions
Pinta un trazo que pasa por points=[x1,y1,x2,y2,...] (coordenadas de imagen) con la herramienta indicada. closed=True cierra el trazo volviendo al primer punto.
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": {
"points": "<points>"
},
"name": "gimp_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| tool | No | paintbrush | |
| color | No | ||
| closed | No | ||
| points | Yes | ||
| opacity | No | ||
| image_id | No | ||
| layer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |