update_playlists_by_playlist_id_items
Adds media items to an existing Plex playlist using a URI or play queue ID. Provide the playlist ID to target.
Instructions
Adding to a Playlist.
PUT /playlists/{playlistId}/items
Args: playlist_id: The ID of the playlist uri: The content URI for the playlist. play_queue_id: The play queue to add to a playlist.
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": {
"playlist_id": "<playlist_id>"
},
"name": "update_playlists_by_playlist_id_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| playlist_id | Yes | ||
| play_queue_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |