list_youtube_playlist_videos
Retrieve a list of videos from a YouTube playlist by providing the playlist ID. Supports pagination and optional filtering by shorts or live content.
Instructions
List videos in a playlist (public data).
Parameters:
playlist_id:
YouTube playlist ID (e.g. PL...).
page_token:
Token for pagination.
max_items:
Max number of items to include from this page.
include_shorts/include_live:
Default false; best-effort classification.
parts_level:
basic/full (same meaning as channel videos).
Returns: - items: video[] - nextPageToken: string | null - quotaEstimate: {estimatedUnits,strategy,notes[]}
Notes: - Playlist ordering is YouTube's playlist ordering.
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_youtube_playlist_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_items | No | ||
| page_token | No | ||
| parts_level | No | basic | |
| playlist_id | Yes | ||
| include_live | No | ||
| include_shorts | No | ||
| next_page_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||