Get Media Info
get_media_infoProbe a media file to retrieve duration, resolution, frame rate, codecs, container format, and file size before editing or inspecting recordings.
Instructions
Probe a media file with ffprobe and return duration, resolution, frame rate, codecs, container format, and size.
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>"
},
"name": "get_media_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the media file to probe. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | Yes | ||
| input | Yes | ||
| width | Yes | ||
| height | Yes | ||
| audioCodec | Yes | ||
| videoCodec | Yes | ||
| durationSec | Yes |