getPlaylistTracks
Retrieve tracks from a Spotify playlist by specifying the playlist ID, with options to limit results and paginate through tracks for efficient data access.
Instructions
Get a list of tracks in a Spotify playlist
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Maximum number of tracks to return (1-50) | |
offset | No | Offset for pagination (0-based index) | |
playlistId | Yes | The Spotify ID of the playlist |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"limit": {
"description": "Maximum number of tracks to return (1-50)",
"maximum": 50,
"minimum": 1,
"type": "number"
},
"offset": {
"description": "Offset for pagination (0-based index)",
"minimum": 0,
"type": "number"
},
"playlistId": {
"description": "The Spotify ID of the playlist",
"type": "string"
}
},
"required": [
"playlistId"
],
"type": "object"
}