layer_update
Modify a GIMP layer's name, visibility, opacity, X/Y offsets, blend mode, or alpha lock to change its appearance and behavior.
Instructions
Update layer name, visibility, opacity, absolute offsets, blend mode and/or alpha lock.
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": {
"session_id": "<session_id>",
"layer_id": "<layer_id>"
},
"name": "layer_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| opacity | No | ||
| visible | No | ||
| layer_id | Yes | ||
| blend_mode | No | ||
| lock_alpha | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||