Set playlist cover
set_playlist_imageReplace a published Spotify playlist's cover image using a local JPEG file. Requires the playlist to be published first and the image saved on this machine.
Instructions
Replace the cover image of the playlist a draft was published to, using a JPEG file on this machine. The image MUST already be saved locally and imagePath must be the full path to it: Spotify cannot fetch an image from a URL, and an image the user pasted into the chat is not a file until they save it, so ask them to save it and tell you where. JPEG only (a renamed .png is rejected) and roughly 190 KB or smaller. Requires the draft to be published (create_playlist first) and a Spotify login that granted the image-upload permission; if it was granted before this permission existed, status will say to reconnect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | ||
| imagePath | Yes | Full path to a .jpg file already saved on this machine, e.g. C:\Users\you\Downloads\cover.jpg or /home/you/Downloads/cover.jpg |