transcribe_video
Transcribes a YouTube video into a timestamped Markdown file with chapter index, returning the file path and summary for LLM-friendly reading.
Instructions
Transcribe a YouTube video and save it as a Markdown file built for an LLM to read: front matter with the video's facts, a linked chapter index, and the text in paragraphs with timestamps. By default it does NOT return the transcript, only the file path and a summary (title, channel, duration, word count and section list), so you can then read the whole file or just the section you need. Uses the video's own language unless another one is requested.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | YouTube video URL (youtube.com/watch?v=..., youtu.be/..., shorts) or bare video ID. | |
| folder | No | Where to save the .md. Defaults to the TRANSCRIPTS_DIR environment variable, or ./transcripts. | |
| language | No | Caption language code, e.g. 'en' or 'es'. Defaults to the video's own language. Requesting a language the video has no manual captions for returns YouTube's machine translation of its machine transcription, which is noticeably less reliable. | |
| file_name | No | Name of the .md file, without extension. Defaults to the video title. | |
| timestamps | No | Prefix each paragraph with [mm:ss]. Default true. | |
| return_text | No | Also return the full Markdown in the response. Default false: it costs a lot of tokens and reading the file afterwards, whole or in parts, is almost always better. | |
| block_seconds | No | When the video has no chapters, split the transcript into blocks of this many seconds. Default 300. | |
| include_description | No | Include the description written by the video's author. Default true. |