youtube_add_to_playlist
Add a specific video to a YouTube playlist by providing the playlist and video IDs, with an optional position to control where it appears.
Instructions
Add a video to a playlist.
Args: playlist_id: Playlist ID to add the video to. video_id: Video ID to add. position: Optional 0-based position in the playlist.
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": "youtube_add_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | ||
| video_id | Yes | ||
| playlist_id | Yes |