get_playlist_items
Fetch tracks and episodes from a playlist you own or collaborate on, with pagination via limit and offset. Avoids Spotify’s 403 error by targeting only playlists where you have access.
Instructions
Tracks (and episodes) in a playlist, paginated. IMPORTANT: only works for playlists the user owns or collaborates on — Spotify returns 403 for any other playlist, including every Spotify-editorial playlist. There is no way around this restriction. Each item's item field holds the track/episode object.
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": {
"playlist_id": "<playlist_id>"
},
"name": "get_playlist_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| href | No | ||
| next | No | ||
| items | No | ||
| limit | No | ||
| total | No | ||
| offset | No | ||
| previous | No |