apply-effect
Apply effects, presets, or custom settings to a chosen After Effects layer by composition and layer index, enabling automated effect setup in compositions.
Instructions
Apply an effect to a layer in After Effects
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": {
"compIndex": "<compIndex>",
"layerIndex": "<layerIndex>"
},
"name": "apply-effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | No | Generic effect identifier. Can be either exact display name or matchName. | |
| compIndex | Yes | 1-based index of the target composition in the project panel. | |
| effectName | No | Display name of the effect to apply (e.g., 'Gaussian Blur'). | |
| layerIndex | Yes | 1-based index of the target layer within the composition. | |
| presetPath | No | Optional path to an effect preset file (.ffx). | |
| effectCategory | No | Optional category for filtering effects. | |
| effectSettings | No | Optional parameters for the effect (e.g., { 'Blurriness': 25 }). | |
| effectMatchName | No | After Effects internal name for the effect (more reliable, e.g., 'ADBE Gaussian Blur 2'). | |
| effectIdentifier | No | Alias for effect. Can be either exact display name or matchName. |