Probe media
probe_mediaInspect media files to retrieve technical metadata—container, duration, codecs, resolution, frame rate, audio specs—before editing or to verify rendered output.
Instructions
Read a media file's technical metadata.
Returns container format, duration in seconds, per-stream codec, resolution, frame rate, bit rate, audio channels and sample rate, and subtitle streams.
This answers immediately rather than returning a job id. Call it before any edit that depends on the source dimensions or duration, and call it again on an output to verify a render.
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": "probe_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Path to the media file to inspect. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| bit_rate | No | ||
| duration | No | Container duration in seconds. | |
| size_bytes | No | ||
| format_name | No | ||
| audio_streams | No | ||
| video_streams | No | ||
| subtitle_streams | No |