playlists_getPlaylistItems
Retrieve videos from a YouTube playlist by providing the playlist ID. Control the result count with an optional limit.
Instructions
Get videos in a YouTube playlist
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": {
"playlistId": "<playlistId>"
},
"name": "playlists_getPlaylistItems"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxResults | No | Maximum number of results to return | |
| playlistId | Yes | The YouTube playlist ID |