List YouTube Playlists
list_youtube_playlistsLists the connected YouTube channel's playlists (id, title, privacy, itemCount), read live from YouTube. Use it to turn a playlist the requester names into its id for a YouTube post's meta.playlistId in save_post; save_post refuses an id that is not on this list. meta.playlistId "none" means no playlist. A playlist is set per post: there is no channel default, and a post with no playlistId goes in no playlist. Fails when YouTube is not connected or the list cannot be loaded. Does not change anything. Related: save_post, list_channels.
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_youtube_playlists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| playlists | Yes |