list_playlist_items
Retrieve videos from a YouTube playlist by specifying the playlist ID and optional result limit.
Instructions
List videos in a playlist. Costs 1 quota unit.
Args: playlist_id: The playlist ID max_results: Number of results (1-50, default 50)
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 |
|---|---|---|---|
| playlist_id | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |