ae_eval
Execute custom ExtendScript code in After Effects to access advanced scripting capabilities. Use with provided helpers for extended control.
Instructions
Escape hatch: run arbitrary ExtendScript inside After Effects. The code may return a value. Helpers under OSR are available (OSR.comp, OSR.layer, OSR.tprop, ...). Prefer the specific tools when one fits.
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": {
"code": "<code>"
},
"name": "ae_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ExtendScript / After Effects scripting code to execute |