youtube_search
Search public YouTube videos by query and supported filters. Use youtube_channel_search when results must be limited to one channel.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "youtube_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Type | No | Result type filter. Allowed values: video, shorts, channel, playlist, movie. | |
| Query | No | Primary YouTube search query (required unless search_query is set). | |
| Params | No | Raw protobuf-encoded filter string; ignored when named filters (type, sort_by, upload_date, duration, features) are present. | |
| Region | No | Two-letter YouTube region code, default US. | |
| SortBy | No | Sort order. Allowed values: relevance, upload_date, view_count, popularity, rating. | |
| Duration | No | Video-duration filter. Allowed values: under_3_minutes, three_to_20_minutes, over_20_minutes, under_3, three_to_20, over_20, short, medium, long. The short, medium, and long labels preserve their previous encodings. | |
| Features | No | Comma-separated feature filters, e.g. hd,subtitles. Allowed values: live, 4k, hd, subtitles, cc, creative_commons, 360, vr180, 3d, hdr, location, purchased. | |
| Language | No | YouTube interface language, default en. | |
| UploadDate | No | Upload-date filter. Allowed values: last_hour, today, this_week, this_month, this_year. | |
| SearchQuery | No | Alias for q; must match q when both are provided. | |
| ContinuationToken | No | Continuation token from a previous response to fetch the next page; cannot be combined with type, sort_by, upload_date, duration, features, or params. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |