Get playlist contents
get_playlistRetrieve a playlist's full track listing with URIs and positions before editing, so you can avoid duplicate additions and remove the exact tracks you intend.
Instructions
Full track listing of a playlist, with each track's URI and its 0-based position. Read this before editing so you know what is already there — it prevents duplicate adds and lets you remove exactly the right tracks.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | Playlist ID (the part after /playlist/ in a Spotify URL) |