get_transcript
Retrieve existing captions from a YouTube video to answer questions about its content. Supports language selection, timestamps, and translation.
Instructions
Fetch a YouTube video's existing captions as text so you can answer questions about it.
Returns existing captions/subtitles only; it does not transcribe audio. Videos without captions have nothing to return.
Args: video: A YouTube URL (watch, youtu.be, shorts, embed, live) or an 11-character video ID. languages: Preferred language codes in priority order. Defaults to ["en"]. include_timestamps: If true, group the transcript into ~15s blocks, each prefixed with [mm:ss] (or [h:mm:ss] past an hour). Use this to find where a topic is discussed and pass that [mm:ss] to build_video_link. translate_to: Optional ISO language code to translate the transcript into.
Returns: The transcript as plain text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | ||
| languages | No | ||
| include_timestamps | No | ||
| translate_to | No |