Extract thumbnail / frames
thumbnailCapture a single video frame at a chosen timestamp or extract frames at fixed intervals for previews and analysis.
Instructions
Capture a single frame at a given time, or extract frames at a fixed interval. For a single frame, output is an image path (e.g. out.jpg). For interval mode, output must contain a printf pattern (e.g. frame_%04d.jpg).
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": {
"input": "<input>",
"output": "<output>"
},
"name": "thumbnail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Timestamp for a single frame. Default 0 if no interval given. | |
| input | Yes | Path to the source video. | |
| width | No | Scale output width in pixels (height auto, keeps aspect). | |
| output | Yes | Image path for single frame, or printf pattern (e.g. frame_%04d.jpg) for interval mode. | |
| overwrite | No | Overwrite the output file if it already exists. | |
| everySeconds | No | Extract one frame every N seconds (interval mode). |