plex_playlist
Create, update, delete, list, and analyze Plex playlists. Add or remove items and retrieve playlist details.
Instructions
Comprehensive playlist management operations for Plex Media Server.
PORTMANTEAU PATTERN RATIONALE: Consolidates 8 playlist lifecycle operations into a single tool to provide a unified interface for curation and collaborative list management.
Return Format
{"success": bool, "operation": str, "data": dict|list, "playlist_id": str|None, "count": int|None}
Examples
await plex_playlist(operation="list") await plex_playlist(operation="get", playlist_id="123") await plex_playlist(operation="create", title="My Mix", items=["item1", "item2"]) await plex_playlist(operation="delete", playlist_id="123") await plex_playlist(operation="add_items", playlist_id="123", items=["item3"])
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order for playlist items. | |
| items | No | List of media item IDs for the playlist. | |
| title | No | Title for the playlist. | |
| public | No | Whether the playlist should be public. | |
| operation | Yes | The playlist operation to perform. | |
| description | No | Description or summary for the playlist. | |
| playlist_id | No | ID of the target playlist. |