youtube_add_playlist_item
Add a specific video to an owned YouTube playlist after obtaining approval, using the required approval ID and confirmation flag.
Instructions
Add a video to an approved owned 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": {
"playlistId": "<playlistId>",
"videoId": "<videoId>",
"approvalId": "<approvalId>"
},
"name": "youtube_add_playlist_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute; set it only after youtube_approve approved this exact preview. | |
| videoId | Yes | ID of the video to add to the playlist. | |
| approvalId | Yes | Approval ID from the youtube_preflight_add_playlist_item preview, after approving it with youtube_approve. | |
| playlistId | Yes | YouTube playlist ID, e.g. PLxxxxxxxxxxxxxxxx. |