get-playlist-tracks
Fetch tracks from a Spotify playlist by playlist ID, using optional limit and offset to control and page through the returned tracks.
Instructions
Get the tracks in a playlist
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": {
"playlistId": "<playlistId>"
},
"name": "get-playlist-tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tracks to return (1-50, default: 20) | |
| offset | No | The index of the first track to return (default: 0) | |
| playlistId | Yes | Spotify ID of the playlist |