set_layer_visibility
Set the visibility of a named layer in an Aseprite file to true or false, allowing control over which layers are shown.
Instructions
Set layer visibility by name.
Args: filename: Name of the Aseprite file to modify layer_name: Layer name to target visible: Whether the layer should be 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": {
"filename": "<filename>",
"layer_name": "<layer_name>"
},
"name": "set_layer_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| layer_name | Yes | ||
| visible | No |