create_playlist
Create a new audio, video, or photo playlist on your Plex server by providing a title and an initial media item to populate the collection.
Instructions
Create a new regular playlist on the Plex server. Requires an initial item (item_key parameter) to be created successfully. Smart playlists are not supported due to their complex filter requirements.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The title/name for the new playlist | |
| type | Yes | The type of playlist to create | |
| item_key | Yes | The key of an initial item to add to the playlist. Required for playlist creation. Get item keys from search_plex or browse_library results. |
Input Schema (JSON Schema)
{
"properties": {
"item_key": {
"description": "The key of an initial item to add to the playlist. Required for playlist creation. Get item keys from search_plex or browse_library results.",
"type": "string"
},
"title": {
"description": "The title/name for the new playlist",
"type": "string"
},
"type": {
"description": "The type of playlist to create",
"enum": [
"audio",
"video",
"photo"
],
"type": "string"
}
},
"required": [
"title",
"type",
"item_key"
],
"type": "object"
}