Rename, re-cover or reorder a playlist
jj_update_playlistEdits a playlist's name, cover emoji, or ordered song list, replacing the song list only when supplied so untouched fields stay the same.
Instructions
Changes one or more fields of a playlist: name, coverEmoji (null removes it), and songIds, which REPLACES the whole content and its order. Only the fields you pass move. To reorder, read the playlist with jj_get_playlist first and send the full list back in the new order.
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": {
"playlistId": "<playlistId>"
},
"name": "jj_update_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. | |
| ifMatch | No | The `updatedAt` you last read for this object. When set, the write is refused with a conflict error if anything changed it since (another device, or the Jam Jam app). Without it, last writer wins. Use it whenever you read, decided, then write. | |
| songIds | No | Ordered content of the playlist; the order is what the user will see and is never re-sorted. Every id must be a live song of this account, otherwise the whole call fails: a half-created playlist would be worse than a refusal. | |
| coverEmoji | No | New cover emoji; null removes it. | |
| playlistId | Yes | Stable playlist id ("pl_..."). |