Search videos
search_videosSearch YouTube videos via yt-dlp with filters for upload date, live status, duration, and more. Paginate and format results as JSON or Markdown.
Instructions
Search videos on YouTube via yt-dlp (ytsearch). Returns list of matching videos with metadata. Optional: limit, offset (pagination), uploadDateFilter (hour|today|week|month|year), dateBefore, date, matchFilter (e.g. "!is_live"), response_format (json|markdown).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search query | |
| limit | No | Max results (default 10) | |
| offset | No | Skip first N results (pagination) | |
| uploadDateFilter | No | Filter by upload date (relative to now) | |
| dateBefore | No | yt-dlp --datebefore, e.g. "now-1year" or "20241201" | |
| date | No | yt-dlp --date, exact date e.g. "20231215" or "today-2weeks" | |
| matchFilter | No | yt-dlp --match-filter, e.g. "!is_live" or "duration < 3600 & like_count > 100" | |
| response_format | No | Format of the human-readable content: json (default) or markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |