set_playlist_cover
Update a Spotify playlist's cover image from a local JPEG file. Validates the 256 KB size limit before upload, so oversized images are rejected instantly with a clear message.
Instructions
Set a playlist's cover image from a local JPEG file. Spotify caps the encoded payload at 256 KB — this checks that before offering confirmation, so an oversized image fails fast with a clear message instead of a wasted round trip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | ||
| playlist_id | Yes | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| result | No | ||
| status | Yes | ||
| preview | No | ||
| next_step | No | ||
| expires_at | No | ||
| confirm_token | No |