youtube_get_frame
Extract a JPEG frame from a YouTube video at a specific millisecond timestamp. Returns image metadata and content for AI agents.
Instructions
Extract one ephemeral JPEG near an integer-millisecond timestamp. Returns metadata plus MCP ImageContent; accuracy is best-effort at a decoded frame boundary.
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>",
"timestamp_ms": "<timestamp_ms>"
},
"name": "youtube_get_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL or ID | |
| max_width | No | Maximum JPEG width in pixels (default 640) | |
| timestamp_ms | Yes | Frame timestamp in integer milliseconds |