run_extendscript
Executes raw ExtendScript (ES3) in Adobe Premiere Pro for tasks not covered by other tools, returning the value of the last expression.
Instructions
Run raw ExtendScript (ES3) in Premiere for anything the other tools cannot do. The value of the last expression is returned. Use app.project, qe (after app.enableQE()), etc.
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": "run_extendscript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |