ae_apply_effect
Apply an effect to a layer by name or matchName, optionally set its properties, and return the effect's properties for further adjustment. Creates one undo step.
Instructions
Apply an effect to a layer by display name or matchName and optionally set its properties. Returns the effect's properties so they can be adjusted next. One undo step.
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>",
"effect": "<effect>"
},
"name": "ae_apply_effect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comp | No | Composition name or numeric item id. Omit to use the active composition. | |
| name | No | Optional new name for the effect instance. | |
| layer | Yes | Layer name or 1-based index. | |
| effect | Yes | e.g. 'Gaussian Blur' or 'ADBE Gaussian Blur 2'. | |
| settings | No | { propertyNameOrPath: value }, e.g. { Blurriness: 20 }. |