Get Artist
get_artistRetrieve details for one or more Spotify artists in a single batched request, cutting repeated API calls, and get top tracks when a single artist is requested.
Instructions
Get details for one or more Spotify artists, batched into a single request.
Args:
artist_ids: One artist ID/URI, or a list of up to 50. A list costs one
Spotify request rather than one per artist.
Returns:
ArtistInfo whose `artists` follows the order requested. `top_tracks` is
filled only when a single artist was requested, and is empty rather than
an error when Spotify withholds that endpoint.
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_ids": "<artist_ids>"
},
"name": "get_artist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artist_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| artists | Yes | ||
| top_tracks | Yes |