video_info
Probe a video file to retrieve duration, resolution, codec, fps, and size as JSON before editing, so you can confirm the source's dimensions and length.
Instructions
Probe a video file for metadata. Returns JSON {success, info:{duration, resolution, codec, fps, size, ...}}. Use before any edit to learn the source's dimensions and length.
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>"
},
"name": "video_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | Also report decoded frame_count, frame_count_source, r_frame_rate and avg_frame_rate (null when not measurable). Slower: decodes the whole stream. | |
| input_path | Yes | Absolute path to the video file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||