Search YouTube
youtube_searchSearch YouTube and get the results with titles, channels, view counts, durations and publish times. Returns at most 40 results and has no further pages. Costs 1 Pipefetch credit; a search without results costs nothing.
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": "youtube_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Interface language code for titles and labels, such as "en". | |
| sort | No | Result order. Default "relevance". | |
| type | No | Kind of result. Default "video". | |
| limit | No | How many results to return: 1 to 40. Default 20. | |
| query | Yes | What to search for. | |
| country | No | Two-letter country code the search is run for, such as "US". | |
| uploaded | No | Only results uploaded within this period. |