apply-effect
Apply an effect to a layer in an After Effects composition using composition and layer indices, effect name or category, and optional preset or parameter settings.
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 |
|---|---|---|---|
| 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'). |