Play Music via Streaming Provider
alexa_play_musicSearch and stream music on Echo from Amazon Music, Spotify, Apple Music, TuneIn, iHeartRadio, or Deezer. Provide serial number and search phrase to play songs, artists, albums, genres, or playlists.
Instructions
Search and stream music on an Echo device from Amazon Music, Spotify, Apple Music, TuneIn, iHeartRadio, or Deezer.
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": {
"serialNumber": "<serialNumber>",
"searchPhrase": "<searchPhrase>"
},
"name": "alexa_play_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Music service provider (default: AMAZON_MUSIC) | AMAZON_MUSIC |
| searchPhrase | Yes | Song, artist, album, genre, or playlist to play | |
| serialNumber | Yes | Serial number of the Echo device (use alexa_list_devices to find it) |