Get Spotify playlist
spotify_playlist_getGet a Spotify playlist and its tracks by id or playlist URL. Optional inputs: playlistId, url and cursor. Costs credits; see meta.creditsCharged.
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": {
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "spotify_playlist_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public Spotify playlist URL, such as `https://open.spotify.com/playlist/37i9dQZF1DX4UtSsGT1Sbe`. Pass this or `playlistId`. | |
| cursor | No | Pass `page.nextCursor` from the previous response to get the next page. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| playlistId | No | Spotify playlist id, such as `37i9dQZF1DX4UtSsGT1Sbe`. Pass this or `url`. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |