Capture a sequence frame (see it)
capture_frameRender a single frame from a Premiere Pro sequence as an image to inspect the edit, with optional time, format, downscaling, and save path; returns image plus JSON metadata.
Instructions
Render one frame of a sequence and return it as an image so you can look at the edit, plus JSON metadata {time, timecode, frame, width, height, path}. Defaults to the frame at the playhead, as JPEG (small). The frame is rendered at the sequence's frame size; pass max_width to downscale (needs ffmpeg, else the full size is returned and the metadata says so). The image goes to a temp file that is deleted afterwards unless save_path is given. Use capture_frames for several frames, export_frame to only write a file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Sequence time in seconds. Omit for the playhead position. Snapped to the frame grid. | |
| format | No | Image format: "jpeg" (default, smaller) or "png" (lossless). | |
| max_width | No | Downscale the returned image to at most this width in pixels (keeps aspect). | |
| overwrite | No | Replace an existing file at save_path. Default false (the call fails with FILE_EXISTS). | |
| save_path | No | Also keep the full-size frame at this absolute path (extension follows format). An existing file is never replaced unless overwrite is true. | |
| sequence_id | No | Stable sequence id (from list_sequences). Omit to use the active sequence. | |
| sequence_name | No | Sequence name; used only when sequence_id is not given. |