Run a .jsx file
run_script_fileExecute an ExtendScript .jsx or .jsxbin file inside After Effects and return its final value for scripted automation.
Instructions
Execute an ExtendScript .jsx/.jsxbin file inside After Effects and return its final value.
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": {
"path": "<path>"
},
"name": "run_script_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the script file. |