manage_youtube_playlist_items
Add, remove or re-order a video in a playlist destructive
Description
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
actionrequired | "add" | "remove" | "move" | add | remove | move |
playlistId | string | required for add |
videoId | string | required for add |
itemId | string | the playlist-ENTRY id — required for remove and move (from list_youtube_playlists) |
position | number | zero-based position; required for move, optional on add (default: appended) |
account | string | which connected account: its @handle or id from list_connector_accounts; needed only when several are connected |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/manage_youtube_playlist_items.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"manage_youtube_playlist_items","arguments":{"action":"<one of the listed values>"}}}
CLI
hermoso call manage_youtube_playlist_items --json '{"action":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_youtube_playlistsList the channel’s playlists (and what is in one)manage_youtube_playlistCreate, rename or delete a YouTube playlist