search_song
Find tracks on Spotify by entering a song title, artist, or phrase. Returns matching results with options to limit, paginate, and set market.
Instructions
Search Spotify for tracks matching a query string.
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_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of track results to return (0-10). | |
| query | Yes | Search text, such as a song title, artist, or combined phrase. | |
| market | No | Optional ISO 3166-1 alpha-2 country code. | |
| offset | No | Result offset for pagination (0-1000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||