get_channel_info
Retrieve YouTube channel metadata including title, description, subscriber count, video count, and total views.
Instructions
Get detailed information about a YouTube channel.
Retrieves channel metadata including title, description, statistics
(subscribers, videos, total views), and branding information.
Cached for 24 hours to minimize API quota usage.
Args:
channel_id: YouTube channel ID (from search results, e.g., "UCuAXFkgsw1L7xaCfnd5JJOw")
Returns:
Channel info dictionary with:
- title, description, channel_id, url, thumbnail
- subscriber_count, video_count, view_count
- published_at
Example:
>>> info = _get_channel_info("UCuAXFkgsw1L7xaCfnd5JJOw")
>>> print(info["title"])
"Vimjoyer"
Note:
- Costs 1 quota unit per request (100x cheaper than search)
- Cached for 24h in youtube.api namespace
- Use after channel search to get full detailsCaching Behavior:
Parameters that accept reference strings can accept a
ref_idfrom a previous tool callLarge results return ref_id + preview; use get_cached_result to paginate
All responses include ref_id for future reference
Ref input compatibility: Support depends on the tool's input schema/validation. Some strictly typed parameters may reject string ref_ids before resolution.
Full retrieval: Use get_cached_result(ref_id, full=True) to get the complete value.
Preview Size: server default. Override per-call with get_cached_result(ref_id, max_size=...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||