Add a video or stream to a playlist
add_item_to_playlistAppend one item to the end of a playlist: send video_id or stream_id, exactly one. Both must belong to the connected account.
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>"
},
"name": "add_item_to_playlist"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | No | Video id | |
| stream_id | No | Stream id | |
| playlist_id | Yes | Playlist id |