Play music
playPlays music by free-text query or Spotify URI. Accepts requests like 'play some Radiohead' or an album, artist, or playlist.
Instructions
Plays music by free-text query (searches and starts the best match) or by Spotify URI. Handles "play some Radiohead", "play the album Kind of Blue", "play my Discover Weekly". Reports what it picked — relay that to the user so they can correct it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "play"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | Spotify URI to play directly, e.g. from a previous search result | |
| type | No | What the query refers to (default: track) | |
| query | No | What to play, e.g. "Bill Evans" or "Kind of Blue". Required unless uri is given. | |
| device_id | No | Target device id (see the devices tool) |