mm_analyze_video
Analyze videos by extracting key frames and transcribing audio, producing a timeline summary with scene insights.
Instructions
抽帧分析视频,并可结合音轨转写。
Args: video_path: 本地视频绝对路径,支持 MP4/MOV/MKV/WEBM。 max_frames: 均匀抽取的帧数,1-20,默认 6。 include_audio: 是否同时转写音轨,默认 true。 question: 可选,分析关注点。
Returns: str: Markdown 格式的场景摘要(帧时间线 + 音轨转写)。
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": {
"video_path": "<video_path>"
},
"name": "mm_analyze_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | No | ||
| max_frames | No | ||
| video_path | Yes | ||
| include_audio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |