Get Tracks
get_tracksRetrieve detailed metadata, including release dates, for one or more Spotify tracks by ID; batch lookup supports up to 50 tracks in one request.
Instructions
Get detailed information about one or more Spotify tracks.
Args:
track_ids: Single track ID or list of track IDs (up to 50)
Returns:
TrackList with 'tracks' containing track metadata including release_date.
For single ID, returns {'tracks': [track]}.
Note: Batch lookup is much more efficient where it is available - 50 tracks
in 1 API call instead of 50. Spotify withholds the batch endpoint from some
apps, in which case this transparently falls back to one request per track,
so the result is the same either way.
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": {
"track_ids": "<track_ids>"
},
"name": "get_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tracks | Yes |