add_video_to_playlist
Add a video to a YouTube playlist using its playlist ID and video ID, so AI agents can organize and manage channel content automatically.
Instructions
Add a video to a playlist.
Args: playlist_id: Target playlist id (starts with 'PL'). video_id: Video id to add.
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_video_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |