add_to_playlist
Add a YouTube video to an existing playlist by providing the playlist ID and video ID, both as YouTube IDs.
Instructions
Add a video to an existing playlist. Both playlist_id and video_id are YouTube IDs (not URLs).
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": {
"playlist_id": "<playlist_id>",
"video_id": "<video_id>"
},
"name": "add_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlist_id | Yes | YouTube playlist ID | |
| video_id | Yes | YouTube video ID to add |