Add videos to a playlist
add_videos_to_playlistAdds videos to an existing user-owned playlist, skipping any already present. Requires explicit approval before writing to the account.
Instructions
Add videos to an existing playlist owned by the user; videos already in it are skipped. WRITES TO THE USER'S ACCOUNT: only after explicit approval. Costs 50 units per added video.
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_ids": "<video_ids>",
"confirm": "<confirm>"
},
"name": "add_videos_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Only set it after the user explicitly approved this exact change in the chat. | |
| video_ids | Yes | ||
| playlist_id | Yes |