youtube_trending
Get currently trending YouTube videos. Specify a country code, optional category ID, and maximum results to filter the list.
Instructions
Get currently trending videos on YouTube.
Costs 1 quota unit.
Args: region_code: ISO 3166-1 alpha-2 country code (e.g., "US", "GB", "IN") category_id: Filter by category ID (e.g., "28" for Science & Technology) max_results: Number of videos to return (max 50)
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_trending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | No | ||
| max_results | No | ||
| region_code | No | US |