execute_extendscript
Runs arbitrary ExtendScript code in Premiere Pro to perform operations not covered by other tools and returns the JSON result.
Instructions
Execute arbitrary ExtendScript code in Premiere Pro. Use for operations not covered by other tools. Returns the result as JSON.
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": "execute_extendscript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ExtendScript code to execute. Must return a JSON.stringify'd result. |