Get Media Info
get_media_infoRetrieve metadata from local media files: duration, resolution, codecs, format, and file size. Uses ffprobe for accurate analysis.
Instructions
Get metadata about a local media file (video or audio): duration, resolution, codecs, format, filesize. Uses ffprobe.
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": {
"file_path": "<file_path>"
},
"name": "get_media_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to a local media file |