gimp_path
Create, select, stroke, fill, or delete vector paths in GIMP images using line and bezier strokes, then apply them to layers with color and width.
Instructions
Vector paths. action='create' (image_id, strokes=[{type:'line'|'bezier', points:[[x,y],...], closed:bool}]; bezier points after the first are control1, control2, anchor triples), 'select' (path to selection), 'stroke' (draw it on layer_id with color and width), 'fill' (fill it on layer_id), 'delete'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gimp_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | replace | |
| name | No | ||
| color | No | ||
| width | No | ||
| action | No | create | |
| path_id | No | ||
| strokes | No | ||
| image_id | No | ||
| layer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||