Add effect
ae_add_effectApply an effect to a layer by match name and optionally configure its properties by name or index. Specify a composition or use the active one to target the layer.
Instructions
Add an effect to a layer by match name (e.g. 'ADBE Gaussian Blur 2') and optionally set its properties by name or index.
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>",
"effectMatchName": "<effectMatchName>"
},
"name": "ae_add_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name or id. Omit to use the active composition. | |
| layer | Yes | Layer name, or 1-based layer index. | |
| properties | No | Map of effect property name (or index as string) to value. | |
| effectMatchName | Yes | Effect match name, e.g. 'ADBE Gaussian Blur 2'. |