Get trending videos
trendingFetch currently popular YouTube videos for any region, optionally filtered by category (Science & Tech, Gaming, People & Blogs, Entertainment).
Instructions
Most popular videos right now in a region. Optional category_id (28 Science & Tech, 20 Gaming, 22 People & Blogs, 24 Entertainment). 1 quota unit.
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": "trending"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category_id | No | ||
| max_results | No | ||
| region_code | No | AU |