Create Spotify Playlist
create_spotify_playlistCreate a private or public Spotify playlist from track IDs, URLs, or URIs in order, with an optional description, once the user confirms the name and track list.
Instructions
Create a new playlist in the user's Spotify account (private unless
public is true) and add the given tracks in order. This changes the
user's account: only call it after the user has agreed to the name and
the track list.
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": {
"name": "<name>"
},
"name": "create_spotify_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Playlist name. | |
| public | No | False (default) keeps it private to the user. | |
| tracks | No | Spotify track IDs, URLs or URIs (use `id` from search_track or build_mood_playlist). Song names are not accepted here. | |
| description | No | Optional description. |