pr_do
Runs a named Premiere Pro operation with arguments and returns the result JSON, verifying writes by readback where supported. Use it instead of writing ExtendScript.
Instructions
Run one Premiere Pro operation by name (see pr_catalog), e.g. {"operation":"add_marker","args":{"time_seconds":1.5,"name":"Intro"}}. Returns the operation result JSON. Writes are verified by readback where Premiere allows it. A result with undoSteps / undoStackIndex can be reverted with the undo operation {expected_undo_stack_index}; property and marker writes record no undo step — checkpoint the sequence before them. Prefer this over writing ExtendScript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | operation parameters | |
| operation | Yes | operation name from pr_catalog |