Extract YouTube Transcript
extract_youtube_transcriptExtract YouTube transcripts with timestamps from public captioned videos, with page-crawl fallback and optional saving of the full transcript as Markdown.
Instructions
Extract YouTube transcripts with timestamps. Works with public captioned videos. Supports fallback to page crawl. Use output_path to persist the full unsliced transcript to disk as markdown.
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": "extract_youtube_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL | |
| timezone | No | IANA timezone name (e.g. 'Asia/Tokyo', 'America/New_York') used to convert the video's publish time, returned under metadata.published_at (requires enrich_metadata=True). When unspecified, defaults to 'UTC' (the original YouTube offset is always kept in metadata.published_at.original). | UTC |
| languages | No | Language codes in preference order | |
| llm_model | No | LLM model | |
| overwrite | No | Overwrite an existing output file at output_path. Defaults to False. | |
| output_path | No | Absolute file path (auto .md extension) to persist the full unsliced transcript. When set, the response is slimmed to metadata+file path. content_limit/content_offset still affect the response copy but not the on-disk file. | |
| llm_provider | No | LLM provider | |
| translate_to | No | Target language for translation | |
| content_limit | No | Max characters to return (0=unlimited) | |
| auto_summarize | No | Auto-summarize large content | |
| content_offset | No | Start position for content (0-indexed) | |
| summary_length | No | 'short'|'medium'|'long' | medium |
| enrich_metadata | No | Enrich metadata (upload_date, view_count) via page crawl | |
| fallback_timeout | No | Fallback crawl timeout in seconds | |
| include_metadata | No | Include video metadata | |
| include_timestamps | No | Include timestamps | |
| max_content_tokens | No | Max tokens before summarization | |
| preserve_formatting | No | Preserve formatting | |
| enable_crawl_fallback | No | Enable page crawl fallback when API fails | |
| include_content_in_response | No | When True (with output_path set), keep the transcript in the response too. Note: the response copy is still subject to content_limit/content_offset slicing; only the on-disk file holds the full transcript. Defaults to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||