Add, remove or re-order a video in a playlist
manage_youtube_playlist_itemsAdd a video to a YouTube playlist, remove an entry, or move it to a new position. Uses the entry's itemId for remove/move actions—not the video ID—so you can manage duplicates correctly. Requires a connected channel.
Instructions
Add a video to a playlist, remove an entry, or move an entry to a new position. ADD takes playlistId + videoId and returns the new entry’s itemId. REMOVE and MOVE take that itemId — NOT the videoId — because one video can sit in a playlist more than once, so a videoId does not identify which row to touch; list_youtube_playlists with a playlistId returns the itemId of every entry. Removing an entry does NOT delete the video, only its place in the playlist. Positions are zero-based. 0 credits. Needs a connected YouTube channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | add | remove | move | |
| itemId | No | the playlist-ENTRY id — required for remove and move (from list_youtube_playlists) | |
| videoId | No | required for add | |
| position | No | zero-based position; required for move, optional on add (default: appended) | |
| playlistId | No | required for add |