fetch_youtube_transcript
Retrieve a YouTube video's transcript by providing its video ID. Supports language selection and text or JSON output.
Instructions
Tool to fetch the transcript of a YouTube video.
:param video_id: The unique identifier of the YouTube video. :param lang_code: The language code for the transcript (default is 'en' for English). :param format: The desired output format of the transcript; either 'text' or 'json'. :return: The transcript in the specified format.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | ||
| lang_code | No | en | |
| format | No | json |