youtube_search
Find videos, channels, or playlists on YouTube by query, filter by upload date or duration, and sort by relevance, views, or date. Get metadata like title, channel, views, and duration.
Instructions
Search YouTube for videos, channels, or playlists. Supports filtering by upload date (today/week/month/year), duration (short/medium/long), and sorting (relevance/date/views/rating). Returns results with metadata including title, channel, views, duration, and whether results are personalized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by type (default: video) | |
| limit | No | Number of results (default: 20, max: 50) | |
| query | Yes | Search query | |
| sortBy | No | Sort results — "relevance", "date" (newest first), "views" (most viewed), "rating", or default relevance | |
| duration | No | Filter by duration — "short" (<4 min), "medium" (4-20 min), "long" (>20 min), or "all" (default: all) | |
| uploadDate | No | Filter by upload date — "today", "week", "month", "year", or "all" (default: all) |