run-script
Execute arbitrary ExtendScript JavaScript directly inside Adobe After Effects with full DOM access to automate compositions, layers, effects, and project tasks.
Instructions
Execute arbitrary ExtendScript JavaScript code directly inside Adobe After Effects with full DOM access
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": {
"script": "<script>"
},
"name": "run-script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The ExtendScript JavaScript code to execute | |
| description | No | Optional brief description of what the script does |