search_videos
Find YouTube videos by search query and return paginated results, while serving identical requests from cache to reduce API quota usage.
Instructions
Search YouTube for videos. EXPENSIVE: quota cost 100 units per uncached call (about 100 searches/day on the default 10,000-unit quota). Identical queries are served from a local cache (24h by default) at 0 units; the response says cached: true. Use sparingly.
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 text. | |
| pageToken | No | nextPageToken from a previous search (a new page costs 100 units). | |
| maxResults | No | 1-10 results. |