Overview
YouTube tool allows you to search videos, get video details, and extract transcripts.Installation
Environment Variables
Quick Start
Usage with Agent
Available Methods
search(query, max_results=5)
Search YouTube videos.get_video(video_id)
Get video details.get_transcript(video_id)
Get video transcript.Common Errors
| Error | Cause | Solution |
|---|---|---|
youtube-transcript-api not installed | Missing dependency | Run pip install youtube-transcript-api |
Transcript not available | No captions | Try different video |
Rate limited | Too many requests | Add delays |

