search_videos
Find YouTube videos by keyword with filters for date, region, duration, definition, type, and more.
Instructions
Search for YouTube videos with various filters
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 |
|---|---|---|---|
| query | Yes | Search query | |
| max_results | No | Maximum number of results (1-50) | |
| order | No | relevance | |
| published_after | No | ISO 8601 datetime (e.g., 2024-01-01T00:00:00Z) | |
| published_before | No | ISO 8601 datetime | |
| region_code | No | ISO 3166-1 alpha-2 country code (e.g., US, BR) | |
| video_duration | No | ||
| video_definition | No | ||
| video_dimension | No | ||
| video_license | No | ||
| video_type | No | ||
| channel_id | No | Filter by specific channel ID | |
| topic_id | No | Filter by Freebase topic ID |