get_playlist_items
Retrieve the videos contained in a YouTube playlist using its playlist ID, with options to set max results and page through additional items.
Instructions
Retrieve video items contained within a YouTube playlist.
Args: playlist_id: The ID of the playlist (e.g. 'PLrAXtmErZgOdP_8GzKt233nyGH51l50DH' or channel uploads ID). max_results: Number of items to retrieve (up to 50, default 20). page_token: Token for retrieving next page of results. raw: If True, returns unaltered raw YouTube Data API response.
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 |
|---|---|---|---|
| raw | No | ||
| page_token | No | ||
| max_results | No | ||
| playlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |