search_videos
Search YouTube videos by keyword, then refine results using filters for upload date, duration, sort order, and content type. Control the number of results returned.
Instructions
Search YouTube for videos with full filter support: upload date, duration, sort order, and content type.
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": {
"query": "<query>"
},
"name": "search_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Result type (default: video) | |
| order | No | Sort order (default: relevance) | |
| query | Yes | Search query | |
| duration | No | Filter by duration: short (<4min), medium (4-20min), long (>20min) | |
| max_results | No | Number of results (1-50, default: 10) | |
| upload_date | No | Filter by upload date |