ae_runScriptFile
Run an After Effects .jsx or .jsxbin script file, optionally pass arguments, and return the script's last value for scripting and automation workflows.
Instructions
After Effects: run a .jsx/.jsxbin script file (any installed script, ScriptUI panel or tool) and return its last value. Scripts in Scripts/ScriptUI Panels can be found with adobe_listPlugins.
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": "ae_runScriptFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | exposed to the script as $.global.MCP_ARGS | |
| path | Yes |