Get Artist Tracks
get_artist_tracksFetches an artist's tracks ranked by Last.fm listeners and resolves them to Spotify, using Spotify search order when Last.fm data is unavailable.
Instructions
An artist's most popular tracks (by Last.fm listeners), resolved to Spotify. Falls back to Spotify search order when Last.fm has no data.
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": {
"artist": "<artist>"
},
"name": "get_artist_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max tracks (1-25). | |
| artist | Yes | Artist name. |