search_youtube
Search YouTube by query, filter by date, duration, type, or sort order, and receive JSON results with video ID, title, channel, duration, views, and upload date.
Instructions
Search YouTube and return video results as JSON. Each result includes video ID, title, channel, duration, view count, and upload date. Use when the user asks to find YouTube videos on a topic.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"search": "<search>"
},
"name": "search_youtube"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | YouTube search query. | |
| sort_by | No | Sort order. Use 'date' for most recent, 'view_count' for most watched. | relevance |
| type | No | Result type filter. | video |
| upload_date | No | Filter by upload date. Omit for all time. | |
| duration | No | Filter by duration. short=<4min, medium=4-20min, long=>20min. |