set_layer_visibility
Show or hide a layer in a pixel art document, controlling visibility to manage which layers are displayed.
Instructions
Show or hide a layer.
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": {
"doc_id": "<doc_id>",
"layer": "<layer>",
"visible": "<visible>"
},
"name": "set_layer_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| doc_id | Yes | Document id | |
| visible | Yes |