Get video/audio metadata
mega_video_infoExtract technical metadata from video or audio files: duration, resolution, codecs, bitrate, and fps. Uses ffprobe to stream only the file header.
Instructions
Probe a video or audio file's technical metadata (duration, resolution, codecs, bitrate, fps) using ffprobe. Streams only the header, not the whole file. Provide path within a folder link or a direct file link.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mega_video_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Media file path within the folder link. | |
| link | No | MEGA link: folder link (with `path`) or direct file link. | |
| raw | No | Include full raw ffprobe JSON in the response. |