List a playlist's videos
get_playlist_videosList every video in a YouTube playlist, in playlist order (courses and series keep their sequence). Accepts a playlist URL or bare playlist id (13, 18, 26 or 34 characters — all valid). Public and unlisted playlists only: YouTube reports a private playlist as nonexistent (error playlist_private) until its owner sets Visibility to Unlisted. Costs 1 credit.
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": "<playlist>"
},
"name": "get_playlist_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max videos to list, default 100. | |
| playlist | Yes | Playlist URL or id (the list= value). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| title | No | ||
| billing | Yes | ||
| results | Yes | ||
| has_more | No | True when the listing stopped at `limit`. | |
| playlist | Yes |