list_playlists
Retrieve YouTube playlists for a specified channel or your own account. Manage playlist data with optional parameters for channel ID and result limits.
Instructions
List playlists. If channel_id is omitted, lists the authenticated user's playlists. Costs 1 quota unit.
Args: channel_id: Channel ID to list playlists for (omit for your own) max_results: Number of results (1-50, default 25)
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 | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |