getPlaylistTracks
Retrieve tracks from a Spotify playlist using its ID, with options for pagination and limiting results.
Instructions
Get a list of tracks in a Spotify 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": "getPlaylistTracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlistId | Yes | The Spotify ID of the playlist | |
| limit | No | Maximum number of tracks to return (1-50) | |
| offset | No | Offset for pagination (0-based index) |