Get YouTube Video Info
get_youtube_video_infoRetrieve YouTube video metadata and transcript availability, optionally summarize the transcript, and save the details to a markdown file for later use.
Instructions
Get YouTube video metadata and transcript availability. Use output_path to persist the video info to disk as markdown and receive a slim response.
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_url": "<video_url>"
},
"name": "get_youtube_video_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | IANA timezone name (e.g. 'Asia/Tokyo', 'America/New_York') used to convert the video's publish time, returned under 'published_at'. When unspecified, defaults to 'UTC' (the original YouTube offset is always kept in published_at.original). | UTC |
| llm_model | No | LLM model | |
| overwrite | No | Overwrite an existing output file at output_path. Defaults to False. | |
| video_url | Yes | YouTube video URL | |
| max_tokens | No | Token limit for summarization | |
| output_path | No | Absolute file path (auto .md extension) to persist the video info as markdown: channel, publish time, duration, views, description, transcript languages and, with summarize_transcript=True, the transcript summary. When set, the response is slimmed to metadata+file path. | |
| llm_provider | No | LLM provider | |
| summary_length | No | 'short'|'medium'|'long' | medium |
| include_timestamps | No | Include timestamps | |
| summarize_transcript | No | Summarize transcript | |
| include_content_in_response | No | When True (with output_path set), also include the rendered markdown in the response as content. Defaults to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||