Batch operations
batchRun multiple Premiere Pro tool calls in sequence within a single round trip. Stops at the first error unless continue_on_error is set, reducing repeated host calls.
Instructions
Run several tool calls in order (stops at the first error unless continue_on_error). ops: [{fn:'', args:{...}}], e.g. [{fn:'markers', args:{action:'add', markers:[{time:5}]}}, {fn:'playhead', args:{seconds:5}}]. Host handler names also work; consecutive ones share one Premiere round trip. Images are dropped.
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": {
"ops": "<ops>"
},
"name": "batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | ||
| continue_on_error | No |