ae_toggle_layer_visibility
Toggle any layer's visibility in an After Effects composition by specifying composition and layer names. Set visible true to show the layer or false to hide it, controlling the eye icon directly.
Instructions
Show or hide a layer (toggle the eye icon)
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": {
"comp_name": "<comp_name>",
"layer_name": "<layer_name>",
"visible": "<visible>"
},
"name": "ae_toggle_layer_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | Yes | true = visible, false = hidden | |
| comp_name | Yes | Composition name | |
| layer_name | Yes | Layer name |