YouTube Search API
youtube_searchSearch YouTube for videos using a query, retrieving titles and metadata. Apply country and language filters, and use pagination tokens to navigate results.
Instructions
Retrieve YouTube search results with video titles and metadata.
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": {
"search_query": "<search_query>"
},
"name": "youtube_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sp | No | Pagination/filter token; pass next_page_token from a previous response. | |
| country | No | Two-letter ISO country code to geo-target results (e.g. us, gb, in, de). (API default: us) | |
| language | No | Result language code (e.g. en, es, fr, de). (API default: en) | |
| search_query | Yes | YouTube search query, e.g. 'elon musk interview'. |