search_tracks
Search for Spotify tracks using query filters for genre, year, artist. Returns track names, artists, albums, and IDs.
Instructions
Search for tracks on Spotify.
Supports Spotify query syntax for filtering:
genre: "genre:rock"
year: "year:2020" or "year:2018-2022"
artist: "artist:radiohead"
combined: "genre:indie year:2020-2024"
Returns track names, artists, albums, and IDs.
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_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |