get_playlist_items
Fetch a Spotify playlist's tracks and episodes with pagination, use a market code to relink tracks and flag unavailable ones, and trim response fields to control payload size.
Instructions
List a playlist's items on a single page. Use market to relink tracks and flag unavailable ones, and fields/additional_types to trim the payload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alias for playlist_id, matching get_playlist | |
| limit | No | Items per page, 1–100. Default: 100 | |
| fields | No | Comma-separated list of response fields to keep, e.g. 'total,items(track(name,uri))' | |
| market | No | ISO 3166-1 alpha-2 country code, e.g. 'GB'; relinks tracks to that market and flags unavailable ones | |
| offset | No | Pagination offset. Default: 0 | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_id | No | Playlist ID (or pass it as 'id') | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| additional_types | No | Item types to include beyond the default 'track', e.g. ['track', 'episode'] |