List your YouTube channels
analytics_list_youtube_channelsThe YouTube channels the user connected to this workspace, with each one's subscribers, lifetime views and video count. With one channel connected, analytics_get_youtube_report needs no channel and this call can be skipped; with several, it takes a channel_id from here.
Use when: "which of my channels are connected", the channel's subscriber and video counts, picking a channel for analytics_get_youtube_report when several are connected. Not for: a channel the user does not own, use youtube_get_channel. Google Analytics properties, use analytics_list_properties. Returns: List. rows[]: channel_id (UC...), title, handle, subscribers (rounded by YouTube, null when hidden), views, videos, created_at, connected_as (the Google account that connected it), needs_reconnect. NotConnected when no channel is connected; its connect_url is where the user connects one. Cost: 0 credits. The user's own data is free; it shares the console's 60 calls per minute per workspace. Cached 1 minute. Example: {}
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": "analytics_list_youtube_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| rows | No | ||
| error | No | ||
| hints | Yes |