get_media_info
Inspect a video or audio file to retrieve duration, resolution, codecs, fps, bitrate, and file size. Use the details to verify media properties before editing.
Instructions
Inspect a video or audio file: duration, resolution, codecs, fps, bitrate, file 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_path": "<input_path>"
},
"name": "get_media_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Path to the media file. Relative paths resolve against MEDIA_DIR (defaults to the server's working directory); absolute paths are used as-is. |