Enable/disable effect
toggle_effectSwitch After Effects layer effects on or off, flip their current state, or change every effect on a layer.
Instructions
Switch effect(s) on or off (the fx eye). Omit 'enabled' to flip the current state; omit 'effect' to apply to all effects on the 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": {
"layer": "<layer>"
},
"name": "toggle_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name, 'Folder/Name' path, or item id. Omit to use the active composition. | |
| layer | Yes | Layer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer. | |
| effect | No | Effect(s); omit for all. | |
| enabled | No | true = on, false = off, omitted = toggle. |