set_layer_visibility
Set a GIMP layer's visibility by ID. Pass a boolean true to show or false to hide the layer.
Instructions
Set whether a layer is visible.
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>",
"visible": "<visible>"
},
"name": "set_layer_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | ||
| layer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||