fetch_video_bundle
Download a lightweight MP4 or timestamped keyframes, storyboard, and subtitles from Bilibili or YouTube links, plus top comments and danmaku highlights.
Instructions
Download a lightweight video bundle (<=max_height, <=max_size_mb MP4) or keyframes + storyboard + subtitles, along with hot comments / danmaku summary.
Args: url: Web video URL (e.g., Bilibili, YouTube). mode: 'auto' (uses AGY_VIDEO_DEFAULT_MODE env var or configured default_mode), 'video' (lightweight MP4 for video-capable agents like Antigravity via read_file), or 'frames_and_text' (evenly spaced JPEG keyframes + single timestamped storyboard + subtitles, ideal for DSH / DeepSeek Harness and other non-video agents). start_time: Optional slice start time (seconds or MM:SS / HH:MM:SS). Required when video duration exceeds max_duration_seconds. end_time: Optional slice end time (seconds or MM:SS / HH:MM:SS). Single slice must be <= max_duration_seconds. inline_storyboard: When True (or AGY_VIDEO_INLINE_STORYBOARD=1) in frames_and_text mode, returns the timestamped storyboard JPEG inline as MCP ImageContent.
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": {
"url": "<url>"
},
"name": "fetch_video_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| mode | No | auto | |
| end_time | No | ||
| start_time | No | ||
| inline_storyboard | No |