Search Spotify
searchSearch the Spotify catalog for tracks, albums, artists, or playlists. Get results with URIs to play, queue, or add to library.
Instructions
Searches the Spotify catalog. Use when the user wants options to choose from; for a direct 'play X' request, prefer the play tool. Results include URIs usable with play, queue, playlists, and library. Max 10 results per type (API limit).
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Results per type, 1-10 (default 5) | |
| query | Yes | Search text | |
| types | No | Result types to include (default: track) |