analyze_video
Analyze local video files by extracting frames and metadata. Specify start and end times to focus on specific segments.
Instructions
Analyze a local video file.
Args: file_path: Path to the video file start_time: Start time in seconds (default: 0) end_time: End time in seconds (default: None = entire video) max_frames: Maximum number of frames to extract (default: 20)
Returns: JSON string with extracted frames and metadata
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": "analyze_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | ||
| file_path | Yes | ||
| max_frames | No | ||
| start_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |