describe_video
Converts a local video into a timestamped text timeline of on-screen scenes, captioning sampled frames and merging matching captions into readable segments.
Instructions
Turn a local video into a timestamped text timeline of what is on screen.
Picks frames, captions each, and merges neighbouring identical captions into
segments like "[00:04–00:10] a dog runs on the beach." Timestamps are the video's
real timestamps (correct for variable-frame-rate phone video).
Args:
path: Absolute path to the video (mp4, mov, mkv, avi, webm, m4v).
mode: "scenes" (default) captions a frame whenever the picture changes (cuts, new
shots), plus one every 10 s on long static shots; segment boundaries land on
the actual cuts and static stretches cost one caption. "interval" captions one
frame every `every_seconds`.
scene_threshold: scenes mode only. Change score (0-1) that counts as a new scene;
lower = more sensitive (0.15 catches camera moves, 0.5 only hard cuts).
every_seconds: interval mode only. Seconds between sampled frames.
max_frames: Upper bound on frames captioned, to keep long videos fast.
merge_threshold: Word overlap (0-1) needed to merge neighbouring captions; 1.0 = identical only.
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": {
"path": "<path>"
},
"name": "describe_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | scenes | |
| path | Yes | ||
| max_frames | No | ||
| every_seconds | No | ||
| merge_threshold | No | ||
| scene_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |