List videos in a playlist
get_playlist_itemsRetrieve videos from a YouTube playlist in playlist order, including playlist details on the first page and paginated results for browsing large playlists.
Instructions
Videos in a playlist, in playlist order, plus the playlist's own details on the first page. Paginated.
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": "get_playlist_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_token | No | next_page_token from a previous call, for the next page. | |
| max_results | No | Items per page, 1-50. | |
| playlist_id | Yes | The playlist ID (PL..., UU..., etc.). | |
| include_stats | No | Include views, likes, comments and duration. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||