add_to_playlist
Append a video to an existing YouTube playlist by providing the playlist ID and video ID or URL; duplicates are not checked.
Instructions
Add a video to a playlist (appended at the end). Quota cost: 50 units per call. Does not check for duplicates.
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>",
"video": "<video>"
},
"name": "add_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video | Yes | Video ID or URL (watch, youtu.be, shorts, embed). | |
| playlistId | Yes | Target playlist ID. |