search_tracks
Find songs on Spotify by title, artist, or year, and retrieve album, duration, and popularity details.
Instructions
Search for songs on Spotify. Returns track name, artists, album, duration, URI, and popularity.
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 | Number of results to return (1-50, default: 20) | |
| query | Yes | Search query (e.g., 'Bohemian Rhapsody', 'artist:Queen', 'year:2020') |