fetch_transcript
Fetch captions from any video URL and return a cleaned text transcript, saving a .txt file to output. Uses YouTube's transcript API and yt-dlp fallback for other platforms.
Instructions
Grab an agent-friendly transcript for a video URL without downloading the media. YouTube uses youtube-transcript-api (fast); every other platform falls back to the yt-dlp caption pass. Writes a .txt (plus .vtt on request) into the output dir and returns the cleaned text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| language | No | ||
| want_vtt | No | ||
| prefer_auto | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |