search_tracks
Find tracks by title and optionally narrow results by artist or artist ID. Use pagination, sorting, and availability filters to retrieve relevant track data.
Instructions
Search tracks by title, optionally filtered by artist.
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 |
|---|---|---|---|
| page | No | 0-based page number. | |
| size | No | Results per page. | |
| sort | No | Popularity order, applied after search relevance. | desc |
| query | Yes | Track title to search for. | |
| artist | No | Only return tracks by this artist name. Unreliable for some artists; prefer artist_id when known. | |
| artist_id | No | Only return tracks by this artist (ReccoBeats/Spotify ID) | |
| include_available_countries | No | Include availableCountries (comma-separated ISO 3166-1 alpha-2 codes where each item is available). Off by default because it's a long list per item; enable it only when regional availability matters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||