youtube_get_channel_info_by_url
根据 YouTube 频道主页链接获取频道资料。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel_url": "<channel_url>"
},
"name": "youtube_get_channel_info_by_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_url | Yes | YouTube 频道主页链接;支持 https://www.youtube.com/@用户名、/channel/、/c/ 和 /user/ 链接形态。如果传入频道 tab 子页链接,会规范化到对应的 https://www.youtube.com/... 频道主页。从搜索、详情、评论或评论回复结果读取频道资料时,直接传 author.profile_url;不要传 channel_id、裸 @用户名、频道名称、视频链接、播放列表链接或搜索页链接。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bio | Yes | 频道简介;不可用时为空字符串。 | |
| name | Yes | 频道名称;不可用时为空字符串。 | |
| points | Yes | 本次成功调用的积分消耗与账户积分余额。 | |
| country | Yes | 频道公开国家或地区;不可用时为空字符串。 | |
| verified | Yes | 频道是否有认证标识。 | |
| avatar_url | Yes | 频道头像链接;不可用时为 null。 | |
| banner_url | Yes | 频道横幅图链接;不可用时为 null。 | |
| channel_id | Yes | YouTube 频道 ID;用于识别和去重。 | |
| view_count | Yes | 频道累计观看次数;不可用时为 null。 | |
| profile_url | Yes | 频道主页链接;不可用时为 null。 | |
| external_links | Yes | 频道主页外链列表;无外链时为空数组。 | |
| follower_count | Yes | 订阅者数量;可能为近似值;不可用时为 null。 | |
| posted_video_count | Yes | 频道视频数量;不可用时为 null。 |