gimp_gradient
Fill an image or layer with a linear, radial, or shaped gradient from (x1,y1) to (x2,y2), using start/end colors or a named GIMP gradient.
Instructions
Rellena con degradado de (x1,y1) a (x2,y2). Por defecto va de start_color a end_color (o frente→fondo); gradient permite usar un degradado de GIMP por nombre.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "gimp_gradient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| shape | No | linear | |
| reverse | No | ||
| gradient | No | ||
| image_id | No | ||
| layer_id | No | ||
| end_color | No | ||
| start_color | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |