Search YouTube Videos & Shorts
youtube_searchSearch YouTube videos, Shorts, channels, or playlists by keyword with type, sort order, and continuation pagination.
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 |
|---|---|---|---|
| type | No | Result type filter (default video). | |
| query | Yes | Keyword search query string. | |
| token | No | Continuation cursor token for loading the next page. | |
| sort_by | No | Sort order for search results (default relevance). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Status code (0 on success). | |
| data | Yes | Paginated YouTube search results. | |
| meta | No | Gateway execution metadata including request ID, cache tier, and credits charged. | |
| status | Yes | Response status string (ok or error). |