extract_frame
Extract a single still frame from a video at a given timestamp and save it as a JPG or PNG image.
Instructions
Grab a single still frame from a video at a given timestamp and save it as an image.
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_path": "<input_path>",
"output_path": "<output_path>"
},
"name": "extract_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timestamp | No | Time in seconds to capture the frame | |
| input_path | Yes | Source video path. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. | |
| output_path | Yes | Destination image path, e.g. .jpg or .png. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. |