getTranscripts
Retrieves key segments (intro hook and call to action) or full text from YouTube video transcripts for efficient analysis.
Instructions
Retrieves specific, meaningful segments of a video's transcript. By default, it returns the intro 'hook' and the final 'outro' or call to action. It can also return the full transcript text. Use this to efficiently analyze a video's key messaging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoIds | Yes | Array of YouTube video IDs to get transcripts for | |
| lang | No | Language code for transcripts (e.g., 'en', 'ko', 'es'). Defaults to environment setting or 'en' | en |
| format | No | The desired transcript format. 'full_text': Returns the entire transcript as a single string. 'key_segments': (Default) Returns only the video's intro hook and final call to action. | key_segments |