clean_youtube_transcript
Extracts high-precision subtitles, timestamped transcripts, and comprehensive AI summaries for public YouTube videos using Google Gemini Flash intelligence.
Instructions
Extracts high-precision subtitles, timestamped transcripts, and comprehensive AI summaries for public YouTube videos using Google Gemini Flash intelligence.
Usage Guidelines:
Use this tool to ingest YouTube lecture, tutorial, tech talk, or podcast transcripts into agent workflows.
Returns: Video metadata (title, channel, URL), AI Knowledge Summary, and cleaned transcript.
Do NOT use for general web pages or articles (use
clean_web_content).Do NOT use for PDF documents or papers (use
clean_pdf_research).Do NOT use for private, unlisted, age-restricted, or live streams without existing closed captions.
If captions are missing or auto-captions fail, the tool reports a detailed fallback error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public YouTube video URL (standard watch, short youtu.be, or Shorts format). | |
| lang | No | Comma-separated ISO 639-1 language priority codes for transcript extraction (e.g., 'ko,en', 'en', 'ja'). | ko,en |
| auth_token_or_tx | No | Optional x402 micropayment authorization token or EVM transaction hash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |