youtube_add_to_playlist
Add a video to a YouTube playlist by providing playlist ID, video ID, and an optional position. Place videos at a specific spot in a playlist or append them to the end when no position is specified.
Instructions
Add a video to a playlist.
Args: playlist_id: Playlist ID to add the video to video_id: Video ID to add position: Position in the playlist (0-based). Defaults to end.
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 |