List playlist videos
youtube_playlist_videosYouTube API: List playlist videos. The videos of a public playlist in playlist order, page by page: follow pagination.next_cursor; every page costs the same, the last one like the first. meta.total_videos and meta.total_pages give the size of the playlist (null when YouTube does not show it). Private and Mix playlists answer 404. Price: 1 credit per call; failed calls are free. Paginated: pass pagination.next_cursor as cursor for the next page (each page is a new call).
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": "youtube_playlist_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Videos per page (max 100) | |
| cursor | No | `pagination.next_cursor` of the previous page | |
| playlist_id | Yes | Playlist ID: the `list=` value of a playlist URL (`PL...`, `UU...`, `OLAK5uy_...`) |