gimp_apply_filter
Apply a GEGL filter to a layer by merging it directly or adding it as a non-destructive layer effect for flexible editing.
Instructions
Apply a GEGL operation to a layer. mode='merge' bakes it in; mode='append' adds a non-destructive layer effect.
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": {
"layer_id": "<layer_id>",
"op": "<op>"
},
"name": "gimp_apply_filter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| mode | No | merge | |
| name | No | ||
| params | No | ||
| opacity | No | ||
| layer_id | Yes | ||
| blend_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||