get_playlist
Retrieve details and tracks of a Spotify playlist using its ID, URI, or URL. Optionally limit the number of tracks returned.
Instructions
Get a playlist's details and its tracks.
Args:
playlist_id: A Spotify playlist ID, spotify:playlist:... URI, or
open.spotify.com playlist URL.
tracks_limit: Max number of tracks to include (default 100). If the
playlist has more, tracks_truncated will be true.
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 | ||
| tracks_limit | No |