Manage collection
manage_collectionCreate, extend, prune, or delete Plex library collections; deleting a collection removes only the grouping, leaving its media items untouched.
Instructions
Create, extend, prune, or delete a collection in a library. create: title + library + ratingKeys (+ kind, which defaults to the kind the library holds and must match it). add_items/remove_items: collectionId + ratingKeys. delete: collectionId (removes ONLY the grouping: its items are untouched). If Plex fails partway through remove_items, the error names the keys already removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| title | No | ||
| action | Yes | ||
| library | No | ||
| ratingKeys | No | ||
| collectionId | No |