playlist_collab_toggle
Toggle a Spotify playlist's public and collaborative flags, preventing invalid public + collaborative settings. Supports dry-run preview before applying changes.
Instructions
Toggle collaborative/public flags (guards public=true && collaborative=true 400). Quota: GET + PUT.
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": {
"playlist_id": "<playlist_id>"
},
"name": "playlist_collab_toggle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public | No | Target visibility: true makes the playlist public | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| playlist_id | Yes | Playlist ID, spotify:playlist: URI, or URL | |
| collaborative | No | Target collaborative state for the playlist |