List my Spotify playlists
list_my_playlistsRetrieve playlists from the signed-in user's Spotify library—owned, collaborative, and followed—with IDs and edit permissions so agents can choose where to add tracks.
Instructions
List playlists in the signed-in user's library (owned, collaborative and followed).
Each playlist's id is the playlist_id for add_tracks_to_playlist. Only playlists with
can_edit: true (owned by the user or collaborative) accept new tracks. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_my_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of playlists to return (1-50). | |
| offset | No | Index of the first playlist; use `next_offset` from a previous call to page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total playlists in the user's library. | |
| playlists | Yes | ||
| next_offset | Yes | Pass as `offset` to get the next page; null if there are no more playlists. |