list_playlists
Fetch playlists from a YouTube channel or by specific IDs. Returns title, description, item count, and thumbnails for organizing video collections.
Instructions
List playlists belonging to a channel or fetch specific playlists by ID. Returns snippet (title, description, channelId, thumbnails) and contentDetails (itemCount). Use list_playlist_items with the returned playlist id to browse all videos inside a playlist. Use page_token to paginate.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | No | Channel ID to get playlists for | |
| page_token | No | Token from a previous response to fetch the next page of results. | |
| max_results | No | Default 5 | |
| playlist_ids | No | Comma-separated playlist IDs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| items | Yes | ||
| pageInfo | No | ||
| nextPageToken | No |