List playlist items
list_playlist_itemsFetch videos and their playlist_item_id from a YouTube playlist using a playlist ID or URL, with pagination controls to page through items.
Instructions
List the videos in a playlist, with their playlist_item_id.
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": "list_playlist_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_token | No | next_page_token from a previous call. | |
| max_results | No | Items per page (1-50). | |
| playlist_id | Yes | Playlist ID (or a URL containing list=...). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||