Video Frame By Query
video_frame_by_queryExtract a video frame by matching a lexical query against a supplied transcript, returning the earliest segment hit with measured PTS for verification.
Instructions
Select a frame by lexical transcript match, requiring the exact video digest.
Segment times use the container-relative presentation clock. Ties choose the earliest segment. A zero-token match abstains. The supplied transcript remains unverified; the extracted frame carries measured PTS.
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": {
"file_path": "<file_path>",
"query": "<query>",
"transcript": "<transcript>"
},
"name": "video_frame_by_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Lexical query matched against supplied transcript tokens | |
| file_path | Yes | Regular local media path within LOCAL_FILE_ACCESS_ROOT | |
| max_pixels | No | Maximum output pixels per frame | |
| transcript | Yes | Source SHA256 and bounded timestamped segments; supplied speech remains unverified | |
| include_image | No | Include bounded native PNG blocks; false returns text metadata |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||