Find and play a YouTube song
youtube_play_songSearches for a song by query and returns a single YouTube URL ready for playback. Designed for voice commands like 'play song name'.
Instructions
Find the best matching song and return one playback-ready YouTube URL. Prefer this for direct voice commands such as 'play...'
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_play_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| regionCode | No | ||
| officialOnly | No | ||
| relevanceLanguage | No |