Manage YouTube playlists
manage_youtube_playlistsCreate, update, or delete YouTube playlists; add, move, or remove videos and set or replace images for a connected channel, with previews before sending.
Instructions
Playlists of the connected channel. create (title, description, privacy_status public|unlisted|private, default_language, localizations); update (playlist_id; only what you send changes, localizations_remove); delete (playlist_id; the videos stay, needs confirm); add_video (playlist_id, video_id, position, note), update_video (playlist_id, item_id: move with position or change note), remove_video (playlist_id, item_id, needs confirm); set_image / replace_image (playlist_id, image_url: square JPEG or PNG; replace needs confirm), delete_image (needs confirm). Every call spends the account's daily YouTube allowance (free plan 200 units, paid plans 2,000; resets at midnight Pacific time; youtube_read quota shows what is left): reads cost about 1 unit, most writes 50, captions 400-450, so batch reads and avoid needless writes. Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.
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": {
"action": "<action>",
"user": "<user>"
},
"name": "manage_youtube_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Upload-Post profile name with YouTube connected. | |
| action | Yes | ||
| params | No | Other API fields for this action, with the REST API's own names (snake_case) and shapes. See the description for each action's fields. Leave out what you do not want to change. | |
| confirm | No | The API's own confirmation for deletions and other changes that cannot be undone. Set it to true only after the user has approved that exact change; without it those actions are refused and nothing changes. | |
| item_id | No | update_video / remove_video: the playlist item id from youtube_read playlist_items (not the video id). | |
| confirmed | No | Set to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent. | |
| playlist_id | No | The playlist (every action but create). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |