Astra: create and edit playlists
astra_playlistCreate and edit Astra playlists: rename playlists, add or remove tracks, and move tracks to reorder them.
Instructions
Create a playlist in Astra, rename one, or add / remove / reorder its tracks. "create" needs name. "rename" needs ref and name. "add-tracks" needs ref and trackRefs. "remove-track" needs ref and trackRef. "move-track" needs ref, trackRef, and position. Get playlist refs from astra_search with types ["playlist"], and track refs from astra_search with types ["track"]. Refs are opaque signed strings from astra_search (or from the current track / queue). Pass them through verbatim — never parse, edit, or invent one. A ref can go stale and return 404.
Limits: only locally owned normal playlists are editable — mirrored (Jellyfin or Subsonic) and dynamic playlists reject edits with playlist_not_writable. Astra has no playlist deletion endpoint, so playlists cannot be deleted through this server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Required for every action except "create": the playlist ref. | |
| name | No | Required for "create" and "rename": the playlist name, 1-200 characters. | |
| action | Yes | The playlist operation to perform. | |
| position | No | Required for "move-track": the 0-based index to move the track to. | |
| trackRef | No | Required for "remove-track" and "move-track": the track ref to act on. | |
| trackRefs | No | Required for "add-tracks": track refs to append, in order. More than 100 are sent in batches automatically. |