add-to-playlist
Add one or more videos to an existing YouTube playlist using a playlist ID and a list of video IDs. Organize your playlists by inserting specific videos in one action.
Instructions
Add one or more videos to a playlist. Costs 50 quota units per video.
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": {
"playlistId": "<playlistId>",
"videoIds": "<videoIds>"
},
"name": "add-to-playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoIds | Yes | Video IDs to add | |
| playlistId | Yes | Playlist ID |