play_by_search
Searches Spotify for a track or playlist based on a query and starts playback.
Instructions
Play a track or playlist by searching for it first.
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": "play_by_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | track | |
| query | Yes | ||
| access_token | No |