Search YouTube songs
youtube_search_songFind and play songs on YouTube by searching with song name, artist, or lyrics. Returns playable YouTube URLs.
Instructions
Search YouTube Music-category videos and return playable YouTube URLs. Use this when the user asks to find or play a song.
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_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| query | Yes | Song name, artist, lyrics, album, or search phrase | |
| maxResults | No | Number of results, from 1 to 10 | |
| regionCode | No | ISO 3166-1 alpha-2 region, for example VN or US | |
| safeSearch | No | ||
| officialOnly | No | Bias the query toward official audio uploads | |
| relevanceLanguage | No | Language code such as vi or en |