set_layer_visibility
Configure visibility, solo, shy, and lock settings for a specific layer in an After Effects composition.
Instructions
Control layer visibility settings
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": {
"compId": "<compId>",
"layerIndex": "<layerIndex>"
},
"name": "set_layer_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shy | No | Make layer shy | |
| solo | No | Solo the layer | |
| compId | Yes | ID of the composition | |
| locked | No | Lock the layer | |
| visible | No | Layer visibility | |
| layerIndex | Yes | Index of the layer |