Server definition
- Hash
- sha256:af96d8654e2841ba0ad32caa6232b84b2b1fa81313e6ccfc420a684c2deb59bd
- What it is
- What a remote MCP server returned when asked what it offers: 24 tools
The blob, as servednamed by its sha256
{
"instructions": "When an available SocialDataX tool matches the user's social media data request, use it as the primary data source instead of generic web search or webpage lookup, unless the user explicitly requests another source. Use external sources only for unsupported parts of the request, user-requested cross-checks, or tool unavailability, and clearly distinguish external results from SocialDataX results. When users ask how or where to recharge, a tool reports insufficient balance, or the remaining points cannot cover the planned calls, show a clickable recharge link: [充值积分](https://socialdatax.com/dashboard/billing). If an error provides a recharge URL, preserve that URL.",
"tools": [
{
"description": "根据内容评论目标和一级评论 ID 获取评论回复;用户已提供完整合法的 ID 组合时直接使用;已有内容 ID 或链接但缺少必需 ID 时,调用对应一级评论工具补全;缺少内容定位信息时向用户索取;不要传评论回复项的 comment_id。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"comment_id": {
"description": "B 站一级评论 ID;用户已提供时直接使用,否则可从一级评论结果 items[].comment_id 复制;不要自行构造,不要传评论回复项的 comment_id。",
"type": "string"
},
"comment_object_id": {
"description": "被评论对象 ID;用户已提供时直接使用,否则从一级评论结果复制 comment_object_id;必须与同一条一级评论的 comment_id 和 comment_object_type 一起使用;不要自行构造。",
"type": "string"
},
"comment_object_type": {
"description": "被评论对象类型编号;用户已提供时直接使用,否则从一级评论结果复制 comment_object_type;必须与同一条一级评论的 comment_id 和 comment_object_id 一起使用;不要自行构造。",
"type": "integer"
},
"page_token": {
"default": "",
"description": "Bilibili 评论回复分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一内容下同一条一级评论的回复分页链路,也就是同一 comment_object_id、comment_object_type 和一级 comment_id;不能跨能力、内容或评论复用。",
"type": "string"
}
},
"required": [
"comment_object_id",
"comment_object_type",
"comment_id"
],
"type": "object"
},
"name": "bilibili_get_content_comment_replies_by_comment_id",
"outputSchema": {
"properties": {
"items": {
"description": "当前页内容评论回复列表。",
"items": {
"properties": {
"author": {
"description": "评论回复作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "评论作者头像链接;不可用时为 null。"
},
"member_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论作者 B 站会员等级;不可用时为 null。"
},
"name": {
"description": "评论作者名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"member_level"
],
"type": "object"
},
"comment_id": {
"description": "B 站评论回复自身 ID;不是一级评论 ID,不要作为评论回复入口输入。",
"type": "string"
},
"content": {
"description": "评论回复内容。",
"type": "string"
},
"ip_location": {
"description": "评论回复发布时的 IP 属地;没有时为空字符串。",
"type": "string"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论回复点赞数;不可用时为 null。"
},
"parent_comment_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "被回复评论 ID;直接回复一级评论时等于调用输入中的 comment_id;不可用时为 null。"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论回复发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"reply_to_author": {
"anyOf": [
{
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "被回复用户头像链接;不可用时为 null。"
},
"name": {
"description": "被回复用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "被回复用户 user_id;不可用时为 null。"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "被回复用户信息;不可用时为 null。"
}
},
"required": [
"comment_id",
"parent_comment_id",
"content",
"publish_time",
"like_count",
"ip_location",
"author",
"reply_to_author"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多评论回复。继续获取评论回复下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一内容下同一条一级评论的回复分页链路,也就是同一 comment_object_id、comment_object_type 和一级 comment_id。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、内容或评论复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 内容 ID 获取视频、专栏或动态的一级评论列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"content_id": {
"description": "Bilibili 内容 ID;用于获取一级评论。视频优先传 bvid(BV...);如果只有视频 aid,建议传 av{aid}(如 av116668525186915)以明确表示视频评论区;不建议直接传裸数字 aid,因为裸数字也可能是专栏/动态评论区 ID。专栏可传 cv 专栏 ID(如 cv9689859),动态/opus 可传 /opus/{id} 或 /dynamic/{id} 路径中的数字 post_id。不要传 comment_object_id、comment_id、链接或分享文案。",
"type": "string"
},
"page_token": {
"default": "",
"description": "Bilibili 一级评论分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一内容、同一排序和同一入口的评论分页链路;content_id 入口 / by_id 工具返回的 token 只能继续用于 content_id 入口 / by_id 工具,url 入口 / by_url 工具返回的 token 只能继续用于 url 入口 / by_url 工具;不能跨能力、入口、内容或排序复用。",
"type": "string"
},
"sort_type": {
"default": "hot",
"description": "评论排序方式:hot=最热,time_descending=最新。默认 hot。",
"enum": [
"hot",
"time_descending"
],
"type": "string"
}
},
"required": [
"content_id"
],
"type": "object"
},
"name": "bilibili_get_content_comments_by_id",
"outputSchema": {
"properties": {
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "平台返回的评论总数,通常包含一级评论和回复;不是当前页数量,也不等于 items 中一级评论条数;不可用时为 null。"
},
"items": {
"description": "当前页内容评论列表。",
"items": {
"properties": {
"author": {
"description": "评论作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "评论作者头像链接;不可用时为 null。"
},
"member_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论作者 B 站会员等级;不可用时为 null。"
},
"name": {
"description": "评论作者名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"member_level"
],
"type": "object"
},
"comment_id": {
"description": "B 站一级评论 ID;可用于继续查询该评论回复。",
"type": "string"
},
"comment_object_id": {
"description": "被评论对象 ID;用户已提供时直接使用,否则从一级评论结果复制 comment_object_id;必须与同一条一级评论的 comment_id 和 comment_object_type 一起使用;不要自行构造。",
"type": "string"
},
"comment_object_type": {
"description": "被评论对象类型编号;用户已提供时直接使用,否则从一级评论结果复制 comment_object_type;必须与同一条一级评论的 comment_id 和 comment_object_id 一起使用;不要自行构造。",
"type": "integer"
},
"content": {
"description": "评论内容。",
"type": "string"
},
"image_urls": {
"description": "评论图片链接列表;无图片时为空数组。",
"items": {
"type": "string"
},
"type": "array"
},
"ip_location": {
"description": "评论发布时的 IP 属地;没有时为空字符串。",
"type": "string"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论点赞数;不可用时为 null。"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"reply_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "当前接口可获取的评论回复数;0 表示没有可获取回复;大于 0 时可使用该评论的 comment_id、comment_object_id 和 comment_object_type 获取回复;null 表示当前页未返回可判断的回复数,不代表一定没有回复。"
}
},
"required": [
"comment_id",
"comment_object_id",
"comment_object_type",
"content",
"publish_time",
"like_count",
"reply_count",
"image_urls",
"ip_location",
"author"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多一级评论。继续获取一级评论下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回,并沿用本次调用入口;content_id 入口 / by_id 工具返回的 token 只能继续用于 content_id 入口 / by_id 工具,url 入口 / by_url 工具返回的 token 只能继续用于 url 入口 / by_url 工具。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、入口、内容或排序复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"comment_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 视频、专栏或动态链接、短链接或分享文案获取一级评论列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 一级评论分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一内容、同一排序和同一入口的评论分页链路;content_id 入口 / by_id 工具返回的 token 只能继续用于 content_id 入口 / by_id 工具,url 入口 / by_url 工具返回的 token 只能继续用于 url 入口 / by_url 工具;不能跨能力、入口、内容或排序复用。",
"type": "string"
},
"sort_type": {
"default": "hot",
"description": "评论排序方式:hot=最热,time_descending=最新。默认 hot。",
"enum": [
"hot",
"time_descending"
],
"type": "string"
},
"url": {
"description": "Bilibili 视频、专栏或动态链接,t.bilibili.com 动态链接、短链接或包含链接的分享文案;用于获取该内容的一级评论;不要传用户主页链接、BV 号、aid、纯数字 ID 或 comment_id。",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "bilibili_get_content_comments_by_url",
"outputSchema": {
"properties": {
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "平台返回的评论总数,通常包含一级评论和回复;不是当前页数量,也不等于 items 中一级评论条数;不可用时为 null。"
},
"items": {
"description": "当前页内容评论列表。",
"items": {
"properties": {
"author": {
"description": "评论作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "评论作者头像链接;不可用时为 null。"
},
"member_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论作者 B 站会员等级;不可用时为 null。"
},
"name": {
"description": "评论作者名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"member_level"
],
"type": "object"
},
"comment_id": {
"description": "B 站一级评论 ID;可用于继续查询该评论回复。",
"type": "string"
},
"comment_object_id": {
"description": "被评论对象 ID;用户已提供时直接使用,否则从一级评论结果复制 comment_object_id;必须与同一条一级评论的 comment_id 和 comment_object_type 一起使用;不要自行构造。",
"type": "string"
},
"comment_object_type": {
"description": "被评论对象类型编号;用户已提供时直接使用,否则从一级评论结果复制 comment_object_type;必须与同一条一级评论的 comment_id 和 comment_object_id 一起使用;不要自行构造。",
"type": "integer"
},
"content": {
"description": "评论内容。",
"type": "string"
},
"image_urls": {
"description": "评论图片链接列表;无图片时为空数组。",
"items": {
"type": "string"
},
"type": "array"
},
"ip_location": {
"description": "评论发布时的 IP 属地;没有时为空字符串。",
"type": "string"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论点赞数;不可用时为 null。"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"reply_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "当前接口可获取的评论回复数;0 表示没有可获取回复;大于 0 时可使用该评论的 comment_id、comment_object_id 和 comment_object_type 获取回复;null 表示当前页未返回可判断的回复数,不代表一定没有回复。"
}
},
"required": [
"comment_id",
"comment_object_id",
"comment_object_type",
"content",
"publish_time",
"like_count",
"reply_count",
"image_urls",
"ip_location",
"author"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多一级评论。继续获取一级评论下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回,并沿用本次调用入口;content_id 入口 / by_id 工具返回的 token 只能继续用于 content_id 入口 / by_id 工具,url 入口 / by_url 工具返回的 token 只能继续用于 url 入口 / by_url 工具。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、入口、内容或排序复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"comment_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 内容 ID 自动识别并读取视频详情、专栏详情或动态详情;传 BV 号、av{aid} 形式的视频 aid、post_id 或 cv 专栏 ID。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"content_id": {
"description": "Bilibili 内容 ID;读取视频详情时优先传 bvid(BV...)。如果只有视频 aid,建议传 av{aid}(如 av116668525186915)以明确表示视频;不建议直接传裸数字 aid,因为裸数字也可能是专栏/动态 post_id,容易混淆并会按自动识别处理。读取专栏详情时传 cv 专栏 ID(如 cv9689859);读取动态/opus 详情时可传 /opus/{id} 或 /dynamic/{id} 路径中的数字 post_id。不要传链接或分享文案。",
"type": "string"
}
},
"required": [
"content_id"
],
"type": "object"
},
"name": "bilibili_get_content_detail_by_id",
"outputSchema": {
"properties": {
"content_id": {
"description": "统一内容 ID;便于从详情继续串内容相关工具。视频固定返回 bvid(BV...);专栏/动态固定返回 post_id,且与 post.post_id 相同。可直接复用到 bilibili_get_content_detail_by_id 或 bilibili_get_content_comments_by_id。",
"type": "string"
},
"content_type": {
"description": "内容类型:video=视频详情;article=专栏详情;dynamic=动态详情,包含带图片的动态。",
"enum": [
"video",
"article",
"dynamic"
],
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"post": {
"anyOf": [
{
"properties": {
"author": {
"description": "作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
},
"category_id": {
"description": "专栏分区 ID;动态通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"category_name": {
"description": "专栏分区名称;动态通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"coin_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "投币数;不可用时为 null。"
},
"collect_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "收藏数;不可用时为 null。"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"content": {
"description": "纯文本正文全文,主要用于专栏,不包含图片位置;动态通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "封面图链接,通常取图片列表第一张或平台封面;不可用时为 null。"
},
"description": {
"description": "专栏摘要或动态正文/说明;专栏全文使用 content;不可用时为空字符串。",
"type": "string"
},
"image_urls": {
"description": "图片链接列表;不表示正文中的插入位置;不可用时为空列表。",
"items": {
"type": "string"
},
"type": "array"
},
"images": {
"description": "图片列表,包含链接及宽高;无图时为空数组。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片高度,像素;不可用时为 null。"
},
"url": {
"description": "图片链接。",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片宽度,像素;不可用时为 null。"
}
},
"required": [
"url",
"width",
"height"
],
"type": "object"
},
"type": "array"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "点赞数;不可用时为 null。"
},
"post_id": {
"description": "B 站专栏/动态 ID;可作为内容详情工具输入,也可用于赞与转发 by_post_id 入口。",
"type": "string"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "分享数;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "专栏/动态分享页链接;可用于赞与转发 by_url 入口;不可用时为 null。"
},
"title": {
"description": "标题;不可用时为空字符串。",
"type": "string"
},
"topic_tags": {
"description": "标签列表;无标签时为空数组;每项只返回 name。",
"items": {
"properties": {
"name": {
"description": "标签名称。",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"update_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "更新时间,秒级 Unix 时间戳;不可用时为 null。"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "阅读数;不可用时为 null。"
},
"word_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "正文字数;不可用时为 null。"
}
},
"required": [
"post_id",
"title",
"description",
"content",
"publish_time",
"update_time",
"cover_image_url",
"image_urls",
"images",
"share_url",
"view_count",
"like_count",
"collect_count",
"coin_count",
"comment_count",
"share_count",
"category_id",
"category_name",
"topic_tags",
"word_count",
"author"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "专栏/动态详情;当输入解析为专栏或动态链接时返回,否则为 null。"
},
"video": {
"anyOf": [
{
"properties": {
"aid": {
"description": "B 站视频数字 aid,即老 AV 号的数字部分;仅作为备用视频标识。没有 bvid 时,建议拼成 av{aid} 作为 content_id 传入,避免裸数字和专栏/动态 ID 混淆。",
"type": "string"
},
"author": {
"description": "视频作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
},
"bvid": {
"description": "B 站视频 BV 号;读取视频详情时可作为 bilibili_get_content_detail_by_id 的 content_id 输入,优先使用 bvid;获取视频评论时也优先复用 bvid。",
"type": "string"
},
"coin_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "投币数;不可用时为 null。"
},
"collect_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "收藏数;不可用时为 null。"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频封面图链接;不可用时为 null。"
},
"danmaku_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "弹幕数;不可用时为 null。"
},
"description": {
"description": "视频简介;不可用时为空字符串。",
"type": "string"
},
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频时长,单位秒;不可用时为 null。"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "点赞数;不可用时为 null。"
},
"page_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频分 P 数量;单 P 视频通常为 1;不可用时为 null。"
},
"pages": {
"description": "视频分 P 列表;单 P 视频通常包含 1 项;无可用分 P 信息时为空数组。",
"items": {
"properties": {
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "该分 P 时长,单位秒;不可用时为 null。"
},
"first_frame_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "该分 P 首帧图链接;不可用时为 null。"
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "该分 P 画面高度;不可用时为 null。"
},
"page_number": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "分 P 序号;不可用时为 null。"
},
"title": {
"description": "该分 P 标题;不可用时为空字符串。",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "该分 P 画面宽度;不可用时为 null。"
}
},
"required": [
"page_number",
"title",
"duration_seconds",
"width",
"height",
"first_frame_url"
],
"type": "object"
},
"type": "array"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "分享数;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频分享页链接;不可用时为 null。"
},
"title": {
"description": "视频标题;不可用时为空字符串。",
"type": "string"
},
"topic_tags": {
"description": "标签列表;无标签时为空数组;每项只返回 name。",
"items": {
"properties": {
"name": {
"description": "标签名称。",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放数;不可用时为 null。"
}
},
"required": [
"bvid",
"aid",
"title",
"description",
"publish_time",
"cover_image_url",
"share_url",
"view_count",
"like_count",
"collect_count",
"comment_count",
"danmaku_count",
"author",
"duration_seconds",
"page_count",
"pages",
"coin_count",
"share_count",
"topic_tags"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "视频详情;当输入解析为普通视频链接时返回,否则为 null。"
}
},
"required": [
"content_id",
"content_type",
"video",
"post",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 链接或分享文案自动识别并读取视频详情、专栏详情或动态详情;支持视频/专栏/动态链接、t.bilibili.com 动态链接、短链接或分享文案。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"url": {
"description": "Bilibili 视频、专栏或动态链接,t.bilibili.com 动态链接、短链接或包含链接的分享文案;读取视频详情、专栏详情或动态详情时优先传完整链接;不要传用户主页链接、BV 号、aid 或纯数字 ID。",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "bilibili_get_content_detail_by_url",
"outputSchema": {
"properties": {
"content_id": {
"description": "统一内容 ID;便于从详情继续串内容相关工具。视频固定返回 bvid(BV...);专栏/动态固定返回 post_id,且与 post.post_id 相同。可直接复用到 bilibili_get_content_detail_by_id 或 bilibili_get_content_comments_by_id。",
"type": "string"
},
"content_type": {
"description": "内容类型:video=视频详情;article=专栏详情;dynamic=动态详情,包含带图片的动态。",
"enum": [
"video",
"article",
"dynamic"
],
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"post": {
"anyOf": [
{
"properties": {
"author": {
"description": "作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
},
"category_id": {
"description": "专栏分区 ID;动态通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"category_name": {
"description": "专栏分区名称;动态通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"coin_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "投币数;不可用时为 null。"
},
"collect_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "收藏数;不可用时为 null。"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"content": {
"description": "纯文本正文全文,主要用于专栏,不包含图片位置;动态通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "封面图链接,通常取图片列表第一张或平台封面;不可用时为 null。"
},
"description": {
"description": "专栏摘要或动态正文/说明;专栏全文使用 content;不可用时为空字符串。",
"type": "string"
},
"image_urls": {
"description": "图片链接列表;不表示正文中的插入位置;不可用时为空列表。",
"items": {
"type": "string"
},
"type": "array"
},
"images": {
"description": "图片列表,包含链接及宽高;无图时为空数组。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片高度,像素;不可用时为 null。"
},
"url": {
"description": "图片链接。",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "图片宽度,像素;不可用时为 null。"
}
},
"required": [
"url",
"width",
"height"
],
"type": "object"
},
"type": "array"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "点赞数;不可用时为 null。"
},
"post_id": {
"description": "B 站专栏/动态 ID;可作为内容详情工具输入,也可用于赞与转发 by_post_id 入口。",
"type": "string"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "分享数;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "专栏/动态分享页链接;可用于赞与转发 by_url 入口;不可用时为 null。"
},
"title": {
"description": "标题;不可用时为空字符串。",
"type": "string"
},
"topic_tags": {
"description": "标签列表;无标签时为空数组;每项只返回 name。",
"items": {
"properties": {
"name": {
"description": "标签名称。",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"update_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "更新时间,秒级 Unix 时间戳;不可用时为 null。"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "阅读数;不可用时为 null。"
},
"word_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "正文字数;不可用时为 null。"
}
},
"required": [
"post_id",
"title",
"description",
"content",
"publish_time",
"update_time",
"cover_image_url",
"image_urls",
"images",
"share_url",
"view_count",
"like_count",
"collect_count",
"coin_count",
"comment_count",
"share_count",
"category_id",
"category_name",
"topic_tags",
"word_count",
"author"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "专栏/动态详情;当输入解析为专栏或动态链接时返回,否则为 null。"
},
"video": {
"anyOf": [
{
"properties": {
"aid": {
"description": "B 站视频数字 aid,即老 AV 号的数字部分;仅作为备用视频标识。没有 bvid 时,建议拼成 av{aid} 作为 content_id 传入,避免裸数字和专栏/动态 ID 混淆。",
"type": "string"
},
"author": {
"description": "视频作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
},
"bvid": {
"description": "B 站视频 BV 号;读取视频详情时可作为 bilibili_get_content_detail_by_id 的 content_id 输入,优先使用 bvid;获取视频评论时也优先复用 bvid。",
"type": "string"
},
"coin_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "投币数;不可用时为 null。"
},
"collect_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "收藏数;不可用时为 null。"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频封面图链接;不可用时为 null。"
},
"danmaku_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "弹幕数;不可用时为 null。"
},
"description": {
"description": "视频简介;不可用时为空字符串。",
"type": "string"
},
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频时长,单位秒;不可用时为 null。"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "点赞数;不可用时为 null。"
},
"page_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频分 P 数量;单 P 视频通常为 1;不可用时为 null。"
},
"pages": {
"description": "视频分 P 列表;单 P 视频通常包含 1 项;无可用分 P 信息时为空数组。",
"items": {
"properties": {
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "该分 P 时长,单位秒;不可用时为 null。"
},
"first_frame_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "该分 P 首帧图链接;不可用时为 null。"
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "该分 P 画面高度;不可用时为 null。"
},
"page_number": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "分 P 序号;不可用时为 null。"
},
"title": {
"description": "该分 P 标题;不可用时为空字符串。",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "该分 P 画面宽度;不可用时为 null。"
}
},
"required": [
"page_number",
"title",
"duration_seconds",
"width",
"height",
"first_frame_url"
],
"type": "object"
},
"type": "array"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "分享数;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频分享页链接;不可用时为 null。"
},
"title": {
"description": "视频标题;不可用时为空字符串。",
"type": "string"
},
"topic_tags": {
"description": "标签列表;无标签时为空数组;每项只返回 name。",
"items": {
"properties": {
"name": {
"description": "标签名称。",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放数;不可用时为 null。"
}
},
"required": [
"bvid",
"aid",
"title",
"description",
"publish_time",
"cover_image_url",
"share_url",
"view_count",
"like_count",
"collect_count",
"comment_count",
"danmaku_count",
"author",
"duration_seconds",
"page_count",
"pages",
"coin_count",
"share_count",
"topic_tags"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "视频详情;当输入解析为普通视频链接时返回,否则为 null。"
}
},
"required": [
"content_id",
"content_type",
"video",
"post",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 专栏/动态 post_id 获取赞与转发列表;不要传视频 BV 号、aid、cv 专栏 ID、链接或分享文案。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 专栏/动态赞与转发列表分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一专栏/动态的同一 post_id 或同一 url 赞与转发分页链路;继续翻页时必须使用同一个入口,by_post_id 返回的 token 只能继续传给 by_post_id,by_url 返回的 token 只能继续传给 by_url;不能跨能力或内容复用。",
"type": "string"
},
"post_id": {
"description": "Bilibili 专栏/动态 post_id;即 /opus/{id}、/dynamic/{id} 或 t.bilibili.com/{id} 路径里的数字 ID。也可以从内容详情返回的 post.post_id 复制。专栏搜索结果的 content_id=cv... 不能直接用于赞与转发;从专栏搜索结果出发时,先获取详情,再使用详情里的 post.post_id 或 post.share_url。不要传视频 BV 号、aid、cv 专栏 ID、链接或分享文案。",
"type": "string"
}
},
"required": [
"post_id"
],
"type": "object"
},
"name": "bilibili_get_content_likes_and_reposts_by_post_id",
"outputSchema": {
"properties": {
"items": {
"description": "当前页赞与转发动作记录列表,每项包含动作类型、B 站展示文案、补充说明和互动用户。",
"items": {
"properties": {
"action_text": {
"description": "B 站展示的互动动作文案,仅用于展示;判断赞或转发时优先使用 action_type;不可用时为空字符串。",
"type": "string"
},
"action_type": {
"description": "赞与转发动作类型:like=赞,repost=转发,unknown=暂未识别的动作类型。",
"enum": [
"like",
"repost",
"unknown"
],
"type": "string"
},
"description": {
"description": "转发说明或互动补充文本;点赞通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"user": {
"description": "执行赞或转发动作的互动用户信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
}
},
"required": [
"action_type",
"action_text",
"description",
"user"
],
"type": "object"
},
"type": "array"
},
"like_repost_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "赞与转发合计总数,不是当前页数量;当前不区分赞和转发分别计数;不可用时为 null。"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多结果。继续获取赞与转发下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回,并沿用本次调用入口;by_post_id 返回的 token 只能继续传给 by_post_id,by_url 返回的 token 只能继续传给 by_url。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、入口或专栏/动态复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"post_id": {
"description": "本次赞与转发列表对应的专栏/动态 post_id;可用于后续不带当前 page_token 的新查询。继续当前分页时必须沿用原入口和 next_page_token,不要用本字段切换入口。不是评论 ID、用户 ID 或 cv 专栏 ID。",
"type": "string"
}
},
"required": [
"post_id",
"items",
"next_page_token",
"like_repost_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 专栏/动态链接、移动端链接、b23.tv 短链接或分享文案获取赞与转发列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 专栏/动态赞与转发列表分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一专栏/动态的同一 post_id 或同一 url 赞与转发分页链路;继续翻页时必须使用同一个入口,by_post_id 返回的 token 只能继续传给 by_post_id,by_url 返回的 token 只能继续传给 by_url;不能跨能力或内容复用。",
"type": "string"
},
"url": {
"description": "Bilibili 专栏/动态链接、移动端链接、t.bilibili.com 动态链接、b23.tv 短链接或包含链接的分享文案;支持 /opus/{id}、/dynamic/{id}、t.bilibili.com/{id}、t.bilibili.com/h5/dynamic/detail/{id} 等同一专栏/动态的常见 B 站链接形态。从专栏搜索结果出发时,先获取详情,再使用详情里的 post.share_url 或 post.post_id。不要传视频链接、其他链接或用户主页链接。",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "bilibili_get_content_likes_and_reposts_by_url",
"outputSchema": {
"properties": {
"items": {
"description": "当前页赞与转发动作记录列表,每项包含动作类型、B 站展示文案、补充说明和互动用户。",
"items": {
"properties": {
"action_text": {
"description": "B 站展示的互动动作文案,仅用于展示;判断赞或转发时优先使用 action_type;不可用时为空字符串。",
"type": "string"
},
"action_type": {
"description": "赞与转发动作类型:like=赞,repost=转发,unknown=暂未识别的动作类型。",
"enum": [
"like",
"repost",
"unknown"
],
"type": "string"
},
"description": {
"description": "转发说明或互动补充文本;点赞通常为空字符串;不可用时为空字符串。",
"type": "string"
},
"user": {
"description": "执行赞或转发动作的互动用户信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
}
},
"required": [
"action_type",
"action_text",
"description",
"user"
],
"type": "object"
},
"type": "array"
},
"like_repost_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "赞与转发合计总数,不是当前页数量;当前不区分赞和转发分别计数;不可用时为 null。"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多结果。继续获取赞与转发下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回,并沿用本次调用入口;by_post_id 返回的 token 只能继续传给 by_post_id,by_url 返回的 token 只能继续传给 by_url。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、入口或专栏/动态复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"post_id": {
"description": "本次赞与转发列表对应的专栏/动态 post_id;可用于后续不带当前 page_token 的新查询。继续当前分页时必须沿用原入口和 next_page_token,不要用本字段切换入口。不是评论 ID、用户 ID 或 cv 专栏 ID。",
"type": "string"
}
},
"required": [
"post_id",
"items",
"next_page_token",
"like_repost_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 B 站用户主页链接、短链接或分享文案获取用户资料;不要传视频链接。如果上一步结果已返回 user_id,可直接使用 user_id 入口。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"profile_url": {
"description": "B 站用户主页链接、短链接或分享文案;不要传 user_id,不要传视频链接、BV 号或 aid;已有 user_id 时使用 by_user_id 工具。",
"type": "string"
}
},
"required": [
"profile_url"
],
"type": "object"
},
"name": "bilibili_get_user_info_by_profile_url",
"outputSchema": {
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"bio": {
"description": "用户简介;不可用时为空字符串。",
"type": "string"
},
"birthday": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "公开生日,通常为 MM-DD;不可用时为 null。"
},
"charging_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "累计充电人数;未开通或不可用时为 null。"
},
"charging_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "充电入口链接;不可用时为 null。"
},
"follower_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "粉丝数;不可用时为 null。"
},
"following_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "关注数;不可用时为 null。"
},
"gender": {
"description": "用户性别:male 表示男,female 表示女,unknown 表示未知或未公开。",
"enum": [
"male",
"female",
"unknown"
],
"type": "string"
},
"live_info": {
"anyOf": [
{
"properties": {
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "直播间封面图链接;不可用时为 null。"
},
"is_live": {
"description": "直播间当前是否正在直播。",
"type": "boolean"
},
"live_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "直播间页面链接;不可用时为 null。"
},
"room_id": {
"description": "B 站直播间 ID。",
"type": "string"
},
"title": {
"description": "直播间标题;不可用时为空字符串。",
"type": "string"
}
},
"required": [
"room_id",
"is_live",
"title",
"live_url",
"cover_image_url"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "用户直播状态摘要;没有直播间或不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"posted_audio_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿音频数量;不可用时为 null。"
},
"posted_content_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿总数,对应 B 站空间投稿页的「投稿」总数;不可用时为 null。"
},
"posted_image_text_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿图文数量,对应 B 站空间投稿页的「图文」分类;不可用时为 null。"
},
"posted_video_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿视频数量;不可用时为 null。"
},
"profile_notice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站空间公告;没有公告或不可用时为 null。"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"received_like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "累计获赞数;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
},
"verification_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站认证说明;没有认证或不可用时为 null。"
},
"verified": {
"description": "是否有 B 站个人或机构认证。",
"type": "boolean"
},
"video_view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "累计视频播放数;不可用时为 null。"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"follower_count",
"following_count",
"posted_content_count",
"posted_video_count",
"posted_image_text_count",
"posted_audio_count",
"received_like_count",
"video_view_count",
"gender",
"verified",
"verification_label",
"charging_count",
"charging_url",
"live_info",
"profile_notice",
"birthday",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 用户 user_id 获取用户资料。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"user_id": {
"description": "B 站用户 user_id,通常是 space.bilibili.com/{user_id} 路径里的数字 ID;可从搜索、详情、评论或用户资料结果中的 author.user_id 或 user_id 复制;不要传用户主页链接,不要传视频链接、昵称、BV 号或 aid。已有用户主页链接时使用 by_profile_url 工具。",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
},
"name": "bilibili_get_user_info_by_user_id",
"outputSchema": {
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"bio": {
"description": "用户简介;不可用时为空字符串。",
"type": "string"
},
"birthday": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "公开生日,通常为 MM-DD;不可用时为 null。"
},
"charging_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "累计充电人数;未开通或不可用时为 null。"
},
"charging_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "充电入口链接;不可用时为 null。"
},
"follower_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "粉丝数;不可用时为 null。"
},
"following_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "关注数;不可用时为 null。"
},
"gender": {
"description": "用户性别:male 表示男,female 表示女,unknown 表示未知或未公开。",
"enum": [
"male",
"female",
"unknown"
],
"type": "string"
},
"live_info": {
"anyOf": [
{
"properties": {
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "直播间封面图链接;不可用时为 null。"
},
"is_live": {
"description": "直播间当前是否正在直播。",
"type": "boolean"
},
"live_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "直播间页面链接;不可用时为 null。"
},
"room_id": {
"description": "B 站直播间 ID。",
"type": "string"
},
"title": {
"description": "直播间标题;不可用时为空字符串。",
"type": "string"
}
},
"required": [
"room_id",
"is_live",
"title",
"live_url",
"cover_image_url"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "用户直播状态摘要;没有直播间或不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"posted_audio_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿音频数量;不可用时为 null。"
},
"posted_content_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿总数,对应 B 站空间投稿页的「投稿」总数;不可用时为 null。"
},
"posted_image_text_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿图文数量,对应 B 站空间投稿页的「图文」分类;不可用时为 null。"
},
"posted_video_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户公开投稿视频数量;不可用时为 null。"
},
"profile_notice": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站空间公告;没有公告或不可用时为 null。"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"received_like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "累计获赞数;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
},
"verification_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站认证说明;没有认证或不可用时为 null。"
},
"verified": {
"description": "是否有 B 站个人或机构认证。",
"type": "boolean"
},
"video_view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "累计视频播放数;不可用时为 null。"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"follower_count",
"following_count",
"posted_content_count",
"posted_video_count",
"posted_image_text_count",
"posted_audio_count",
"received_like_count",
"video_view_count",
"gender",
"verified",
"verification_label",
"charging_count",
"charging_url",
"live_info",
"profile_notice",
"birthday",
"points"
],
"type": "object"
}
},
{
"description": "根据 B 站用户主页链接、短链接或分享文案获取公开发布单篇专栏列表;不要传视频链接。如果上一步结果已返回 user_id,可直接使用 user_id 入口。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 用户发布单篇专栏分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一用户的单篇专栏列表分页链路,不能跨能力或用户复用。",
"type": "string"
},
"profile_url": {
"description": "B 站用户主页链接、短链接或分享文案;不要传 user_id,不要传视频链接、BV 号或 aid;已有 user_id 时使用 by_user_id 工具。",
"type": "string"
}
},
"required": [
"profile_url"
],
"type": "object"
},
"name": "bilibili_get_user_posted_articles_by_profile_url",
"outputSchema": {
"properties": {
"article_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户主页公开单篇专栏总数;不是当前页数量;不可用时为 null。"
},
"items": {
"description": "当前页用户发布单篇专栏列表。",
"items": {
"properties": {
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "单篇专栏列表页封面图片 URL;不代表完整图片列表;不可用时为 null。"
},
"description": {
"description": "单篇专栏列表页展示文本,可能是正文或摘要,可能被平台截断;不可用时为空字符串。",
"type": "string"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "单篇专栏点赞数;不可用时为 null。"
},
"post_id": {
"description": "B 站单篇专栏 post_id,即 /opus/{id} 路径中的数字 ID;可作为 内容详情或内容评论接口的 content_id 使用,也可作为赞与转发接口的 post_id 使用;不是 cv、BV、评论 ID。",
"type": "string"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "单篇专栏分享链接;不可用时为 null。"
}
},
"required": [
"post_id",
"description",
"cover_image_url",
"share_url",
"like_count"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多用户发布单篇专栏。继续获取下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一用户的单篇专栏列表分页链路。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力或用户复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"article_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 用户 user_id 获取公开发布单篇专栏列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 用户发布单篇专栏分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一用户的单篇专栏列表分页链路,不能跨能力或用户复用。",
"type": "string"
},
"user_id": {
"description": "B 站用户 user_id,通常是 space.bilibili.com/{user_id} 路径里的数字 ID;可从搜索、详情、评论或用户资料结果中的 author.user_id 或 user_id 复制;不要传用户主页链接,不要传视频链接、昵称、BV 号或 aid。已有用户主页链接时使用 by_profile_url 工具。",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
},
"name": "bilibili_get_user_posted_articles_by_user_id",
"outputSchema": {
"properties": {
"article_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户主页公开单篇专栏总数;不是当前页数量;不可用时为 null。"
},
"items": {
"description": "当前页用户发布单篇专栏列表。",
"items": {
"properties": {
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "单篇专栏列表页封面图片 URL;不代表完整图片列表;不可用时为 null。"
},
"description": {
"description": "单篇专栏列表页展示文本,可能是正文或摘要,可能被平台截断;不可用时为空字符串。",
"type": "string"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "单篇专栏点赞数;不可用时为 null。"
},
"post_id": {
"description": "B 站单篇专栏 post_id,即 /opus/{id} 路径中的数字 ID;可作为 内容详情或内容评论接口的 content_id 使用,也可作为赞与转发接口的 post_id 使用;不是 cv、BV、评论 ID。",
"type": "string"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "单篇专栏分享链接;不可用时为 null。"
}
},
"required": [
"post_id",
"description",
"cover_image_url",
"share_url",
"like_count"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多用户发布单篇专栏。继续获取下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一用户的单篇专栏列表分页链路。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力或用户复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"article_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 B 站用户主页链接、短链接或分享文案获取公开发布动态列表;不要传视频链接。如果上一步结果已返回 user_id,可直接使用 user_id 入口。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 用户发布动态分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一用户的动态列表分页链路,不能跨能力或用户复用。",
"type": "string"
},
"profile_url": {
"description": "B 站用户主页链接、短链接或分享文案;不要传 user_id,不要传视频链接、BV 号或 aid;已有 user_id 时使用 by_user_id 工具。",
"type": "string"
}
},
"required": [
"profile_url"
],
"type": "object"
},
"name": "bilibili_get_user_posted_dynamics_by_profile_url",
"outputSchema": {
"properties": {
"dynamic_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户主页公开动态数量;不是当前页数量;不可用时为 null。"
},
"items": {
"description": "当前页用户发布动态列表。",
"items": {
"properties": {
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "动态列表页封面图片 URL;不代表完整图片列表;不可用时为 null。"
},
"description": {
"description": "动态列表页展示文本,可能是正文或摘要,可能被平台截断;不可用时为空字符串。",
"type": "string"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "动态点赞数;不可用时为 null。"
},
"post_id": {
"description": "B 站动态 post_id,即 /opus/{id}、/dynamic/{id} 或 t.bilibili.com/{id} 中的数字 ID;可作为 内容详情或内容评论接口的 content_id 使用,也可作为赞与转发接口的 post_id 使用;不是 cv、BV、评论 ID。",
"type": "string"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "动态分享链接;不可用时为 null。"
}
},
"required": [
"post_id",
"description",
"cover_image_url",
"share_url",
"like_count"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多用户发布动态。继续获取下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一用户的动态列表分页链路。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力或用户复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"dynamic_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 用户 user_id 获取公开发布动态列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 用户发布动态分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一用户的动态列表分页链路,不能跨能力或用户复用。",
"type": "string"
},
"user_id": {
"description": "B 站用户 user_id,通常是 space.bilibili.com/{user_id} 路径里的数字 ID;可从搜索、详情、评论或用户资料结果中的 author.user_id 或 user_id 复制;不要传用户主页链接,不要传视频链接、昵称、BV 号或 aid。已有用户主页链接时使用 by_profile_url 工具。",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
},
"name": "bilibili_get_user_posted_dynamics_by_user_id",
"outputSchema": {
"properties": {
"dynamic_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户主页公开动态数量;不是当前页数量;不可用时为 null。"
},
"items": {
"description": "当前页用户发布动态列表。",
"items": {
"properties": {
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "动态列表页封面图片 URL;不代表完整图片列表;不可用时为 null。"
},
"description": {
"description": "动态列表页展示文本,可能是正文或摘要,可能被平台截断;不可用时为空字符串。",
"type": "string"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "动态点赞数;不可用时为 null。"
},
"post_id": {
"description": "B 站动态 post_id,即 /opus/{id}、/dynamic/{id} 或 t.bilibili.com/{id} 中的数字 ID;可作为 内容详情或内容评论接口的 content_id 使用,也可作为赞与转发接口的 post_id 使用;不是 cv、BV、评论 ID。",
"type": "string"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "动态分享链接;不可用时为 null。"
}
},
"required": [
"post_id",
"description",
"cover_image_url",
"share_url",
"like_count"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多用户发布动态。继续获取下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一用户的动态列表分页链路。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力或用户复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"dynamic_count",
"points"
],
"type": "object"
}
},
{
"description": "根据 B 站用户主页链接、短链接或分享文案获取公开发布视频列表;不要传视频链接。如果上一步结果已返回 user_id,可直接使用 user_id 入口。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 用户发布视频列表分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一用户和同一排序方式的视频列表分页链路,不能跨能力、用户或排序复用。",
"type": "string"
},
"profile_url": {
"description": "B 站用户主页链接、短链接或分享文案;不要传 user_id,不要传视频链接、BV 号或 aid;已有 user_id 时使用 by_user_id 工具。",
"type": "string"
},
"sort_type": {
"default": "time_descending",
"description": "用户发布视频排序方式:time_descending=最新发布,view_count_descending=最多播放,collect_count_descending=最多收藏。默认 time_descending。",
"enum": [
"time_descending",
"view_count_descending",
"collect_count_descending"
],
"type": "string"
}
},
"required": [
"profile_url"
],
"type": "object"
},
"name": "bilibili_get_user_posted_videos_by_profile_url",
"outputSchema": {
"properties": {
"items": {
"description": "当前页用户发布视频列表。",
"items": {
"properties": {
"author": {
"description": "视频作者信息。",
"properties": {
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"profile_url"
],
"type": "object"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"content_id": {
"description": "可直接作为内容详情或内容评论接口的 content_id 输入;用户发布视频列表这里固定返回视频 bvid(BV...)。",
"type": "string"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频封面图链接;不可用时为 null。"
},
"danmaku_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "弹幕数;不可用时为 null。"
},
"description": {
"description": "视频简介;不可用时为空字符串。",
"type": "string"
},
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频时长,单位秒;不可用时为 null。"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频分享页链接;不可用时为 null。"
},
"title": {
"description": "视频标题;不可用时为空字符串。",
"type": "string"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放数;不可用时为 null。"
}
},
"required": [
"content_id",
"title",
"description",
"publish_time",
"duration_seconds",
"cover_image_url",
"share_url",
"view_count",
"comment_count",
"danmaku_count",
"author"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多用户发布视频。继续获取下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一用户和同一排序方式的视频列表分页链路。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、用户或排序复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 用户 user_id 获取公开发布视频列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "Bilibili 用户发布视频列表分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一用户和同一排序方式的视频列表分页链路,不能跨能力、用户或排序复用。",
"type": "string"
},
"sort_type": {
"default": "time_descending",
"description": "用户发布视频排序方式:time_descending=最新发布,view_count_descending=最多播放,collect_count_descending=最多收藏。默认 time_descending。",
"enum": [
"time_descending",
"view_count_descending",
"collect_count_descending"
],
"type": "string"
},
"user_id": {
"description": "B 站用户 user_id,通常是 space.bilibili.com/{user_id} 路径里的数字 ID;可从搜索、详情、评论或用户资料结果中的 author.user_id 或 user_id 复制;不要传用户主页链接,不要传视频链接、昵称、BV 号或 aid。已有用户主页链接时使用 by_profile_url 工具。",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
},
"name": "bilibili_get_user_posted_videos_by_user_id",
"outputSchema": {
"properties": {
"items": {
"description": "当前页用户发布视频列表。",
"items": {
"properties": {
"author": {
"description": "视频作者信息。",
"properties": {
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"profile_url"
],
"type": "object"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"content_id": {
"description": "可直接作为内容详情或内容评论接口的 content_id 输入;用户发布视频列表这里固定返回视频 bvid(BV...)。",
"type": "string"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频封面图链接;不可用时为 null。"
},
"danmaku_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "弹幕数;不可用时为 null。"
},
"description": {
"description": "视频简介;不可用时为空字符串。",
"type": "string"
},
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频时长,单位秒;不可用时为 null。"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频分享页链接;不可用时为 null。"
},
"title": {
"description": "视频标题;不可用时为空字符串。",
"type": "string"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放数;不可用时为 null。"
}
},
"required": [
"content_id",
"title",
"description",
"publish_time",
"duration_seconds",
"cover_image_url",
"share_url",
"view_count",
"comment_count",
"danmaku_count",
"author"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多用户发布视频。继续获取下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一用户和同一排序方式的视频列表分页链路。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、用户或排序复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 视频链接或分享文案获取本地 CLI 下载和 ffmpeg 合并所需的视频下载地址 manifest。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"url": {
"description": "Bilibili 视频链接、短链接或包含视频链接的分享文案;用于获取本地 CLI 下载和 ffmpeg 合并所需的视频下载地址 manifest;多 P 视频链接会按 URL 中的 p 参数选择对应分 P;不要传用户主页链接、专栏/动态链接、BV 号或 aid。",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "bilibili_get_video_download_links",
"outputSchema": {
"properties": {
"aid": {
"description": "B 站视频数字 aid,即老 AV 号的数字部分;仅作为备用视频标识。没有 bvid 时,建议拼成 av{aid} 作为 content_id 传入,避免裸数字和专栏/动态 ID 混淆。",
"type": "string"
},
"bvid": {
"description": "B 站视频 BV 号;读取视频详情时可作为 bilibili_get_content_detail_by_id 的 content_id 输入,优先使用 bvid;获取视频评论时也优先复用 bvid。",
"type": "string"
},
"cid": {
"description": "本次下载地址对应的视频分 P cid。",
"type": "string"
},
"download_manifest": {
"description": "本地 CLI 下载和合并所需的 manifest。",
"properties": {
"merge": {
"description": "本地合并建议。",
"properties": {
"container": {
"description": "建议合并后的容器格式。",
"type": "string"
},
"strategy": {
"const": "ffmpeg_copy",
"description": "本地合并策略:ffmpeg_copy=用 ffmpeg 直接封装。",
"type": "string"
}
},
"required": [
"container",
"strategy"
],
"type": "object"
},
"mode": {
"const": "dash",
"description": "下载地址模式:dash=音视频分轨。",
"type": "string"
},
"tracks": {
"description": "需要下载的轨道列表。",
"items": {
"properties": {
"backup_urls": {
"description": "备用下载地址列表;无备用地址时为空数组。",
"items": {
"type": "string"
},
"type": "array"
},
"bandwidth": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "码率;不可用时为 null。"
},
"codec": {
"description": "编码信息;不可用时为空字符串。",
"type": "string"
},
"ext": {
"description": "建议保存的文件扩展名,如 m4s 或 mp4。",
"type": "string"
},
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频高度;音频轨或不可用时为 null。"
},
"quality": {
"description": "清晰度描述;音频轨通常为空字符串。",
"type": "string"
},
"type": {
"description": "轨道类型:video=视频轨;audio=音频轨。",
"enum": [
"video",
"audio"
],
"type": "string"
},
"url": {
"description": "主下载地址;本地下载时需要配合 headers 使用。",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频宽度;音频轨或不可用时为 null。"
}
},
"required": [
"type",
"url",
"backup_urls",
"codec",
"quality",
"width",
"height",
"ext",
"bandwidth"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"mode",
"tracks",
"merge"
],
"type": "object"
},
"expires_at": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "下载地址过期时间,秒级 Unix 时间戳;无法可靠判断时为 null。"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "本地下载时建议携带的 HTTP headers,通常包含 Referer 和 User-Agent。",
"type": "object"
},
"page": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "本次下载地址对应的分 P 序号;不可用时为 null。"
},
"platform": {
"const": "bilibili",
"description": "平台标识,固定为 bilibili。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"selected_quality": {
"description": "服务端默认选择的清晰度描述;不可用时为空字符串。",
"type": "string"
},
"title": {
"description": "视频标题;不可用时为空字符串。",
"type": "string"
}
},
"required": [
"platform",
"title",
"bvid",
"aid",
"cid",
"page",
"selected_quality",
"expires_at",
"headers",
"download_manifest",
"points"
],
"type": "object"
}
},
{
"description": "根据用户提供的有效 job_id,或 submit 工具返回的 job_id 查询 Bilibili 口播转文字任务状态;每次最多等待 240 秒,不触发重处理,也不要重复提交任务。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"job_id": {
"description": "口播转文字任务 ID;用户已提供时直接使用,否则使用 bilibili_submit_video_speech_text_by_video_url 或 bilibili_submit_video_speech_text_by_bvid 返回的 job_id;不要传 BV 号、aid 或视频链接。",
"type": "string"
}
},
"required": [
"job_id"
],
"type": "object"
},
"name": "bilibili_get_video_speech_text_job",
"outputSchema": {
"additionalProperties": false,
"properties": {
"content_id": {
"description": "平台内容 ID。",
"type": "string"
},
"content_meta": {
"additionalProperties": false,
"description": "作品上下文信息,便于结合转写内容做口播分析。",
"properties": {
"author": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作者头像链接。"
},
"name": {
"description": "作者昵称。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作者主页链接。"
},
"user_id": {
"description": "作者用户 ID。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"profile_url",
"avatar_url"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "作者信息。"
},
"content_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作品链接。"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "平台作品原始描述、正文或配文。"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "音视频时长,单位毫秒。"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作品标题;平台无标题时为 null。"
}
},
"required": [
"content_url",
"title",
"description",
"duration_ms",
"author"
],
"type": "object"
},
"content_type": {
"description": "内容类型。",
"type": "string"
},
"error": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"code": {
"description": "稳定错误码。",
"type": "string"
},
"message": {
"description": "面向用户的错误说明。",
"type": "string"
},
"retryable": {
"default": false,
"description": "是否可重试。",
"type": "boolean"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "失败或过期时的稳定错误结构;非终态或成功时为 null。"
},
"is_terminal": {
"description": "是否已终态。",
"type": "boolean"
},
"job_id": {
"description": "任务 ID。",
"type": "string"
},
"message": {
"description": "面向用户/AI 的状态说明。",
"type": "string"
},
"next_action": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": true,
"description": "下一步查询工具可直接使用的参数。",
"type": "object"
},
"instruction": {
"description": "给 AI/客户端的查询指令,说明如何继续轮询到终态。",
"type": "string"
},
"job_id": {
"description": "需要继续查询的 job_id。",
"type": "string"
},
"tool_name": {
"description": "下一步建议调用的查询工具。",
"type": "string"
}
},
"required": [
"tool_name",
"job_id",
"arguments",
"instruction"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "非终态时建议的下一步查询动作。"
},
"next_poll_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "建议下次查询前等待的秒数;非终态时可用。"
},
"platform": {
"description": "任务所属平台。",
"type": "string"
},
"source_id": {
"description": "任务来源 ID。",
"type": "string"
},
"status": {
"description": "任务状态。",
"enum": [
"queued",
"running",
"succeeded",
"failed",
"expired"
],
"type": "string"
},
"transcript": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"segments": {
"description": "按时间顺序排列的分段结果。",
"items": {
"additionalProperties": false,
"properties": {
"end_ms": {
"description": "分段结束时间,单位毫秒。",
"minimum": 0,
"type": "integer"
},
"start_ms": {
"description": "分段开始时间,单位毫秒。",
"minimum": 0,
"type": "integer"
},
"text": {
"description": "分段文本。",
"type": "string"
}
},
"required": [
"start_ms",
"end_ms",
"text"
],
"type": "object"
},
"type": "array"
},
"text": {
"description": "完整口播转文字结果。",
"type": "string"
}
},
"required": [
"text",
"segments"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "成功时的口播转文字结果;非终态或失败时为 null。"
}
},
"required": [
"job_id",
"status",
"is_terminal",
"platform",
"content_id",
"source_id",
"content_type",
"content_meta",
"transcript",
"error",
"next_poll_after_seconds",
"next_action",
"message"
],
"type": "object"
}
},
{
"description": "搜索 Bilibili 专栏文章。用户需要按搜索词查找专栏时使用;已有视频、专栏或动态链接,或已有内容 ID 时使用对应的统一详情或评论工具;支持 page_token 翻页、排序和分区筛选。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"category": {
"default": "all",
"description": "专栏分区筛选:all=全部分区,animation=动画,gaming=游戏,film_and_tv=影视,lifestyle=生活,hobbies=兴趣,light_novel=轻小说,technology=科技,notes=笔记。",
"enum": [
"all",
"animation",
"gaming",
"film_and_tv",
"lifestyle",
"hobbies",
"light_novel",
"technology",
"notes"
],
"type": "string"
},
"keyword": {
"description": "搜索 Bilibili 专栏文章的搜索词,可传关键词或短语,例如品牌名、话题、人物名或产品名;不要传视频链接、专栏/动态链接、用户主页链接、BV 号、aid、专栏/动态 ID 或 page_token。",
"type": "string"
},
"page_token": {
"default": "",
"description": "Bilibili 专栏搜索分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一关键词、排序方式和分区筛选的专栏搜索链路,不能跨能力、关键词或筛选条件复用。消费多页搜索结果时,建议按 content_id 作为稳定键合并结果。",
"type": "string"
},
"sort_type": {
"default": "general",
"description": "专栏排序方式:general=综合排序,time_descending=最新发布,view_count_descending=最多点击/阅读,like_count_descending=最多喜欢,comment_count_descending=最多评论。",
"enum": [
"general",
"time_descending",
"view_count_descending",
"like_count_descending",
"comment_count_descending"
],
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "bilibili_search_articles",
"outputSchema": {
"properties": {
"items": {
"description": "当前页专栏搜索结果。",
"items": {
"properties": {
"author": {
"description": "专栏作者信息。",
"properties": {
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"profile_url"
],
"type": "object"
},
"category_id": {
"description": "专栏分区 ID;不可用时为空字符串。",
"type": "string"
},
"category_name": {
"description": "专栏分区名称;不可用时为空字符串。",
"type": "string"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"content_id": {
"description": "可直接作为 bilibili_get_content_detail_by_id 的 content_id 输入读取详情;专栏搜索结果固定为 cv 加专栏数字 ID。",
"type": "string"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "专栏封面图链接;不可用时为 null。"
},
"description": {
"description": "专栏搜索摘要或正文片段,可能被平台截断;不可用时为空字符串。",
"type": "string"
},
"image_urls": {
"description": "专栏搜索结果图片链接列表;不可用时为空列表。",
"items": {
"type": "string"
},
"type": "array"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "点赞数;不可用时为 null。"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "专栏阅读页链接,通常是 https://www.bilibili.com/read/cv...;可用于打开专栏原文;不能直接用于赞与转发;如需获取赞与转发,先获取详情,再使用详情里的 post.share_url 或 post.post_id;不可用时为 null。"
},
"title": {
"description": "专栏标题;不可用时为空字符串。",
"type": "string"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "阅读数;不可用时为 null。"
}
},
"required": [
"content_id",
"title",
"description",
"publish_time",
"cover_image_url",
"image_urls",
"share_url",
"view_count",
"like_count",
"comment_count",
"category_id",
"category_name",
"author"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多专栏搜索结果。继续获取专栏搜索下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一关键词、排序方式和分区筛选的专栏搜索链路;消费多页搜索结果时,建议按 content_id 作为稳定键合并结果。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、关键词或筛选条件复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"type": "object"
}
},
{
"description": "根据关键词获取Bilibili搜索输入框联想词;不用于搜索用户或内容。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"keyword": {
"description": "搜索关键词或短语;不要传链接、用户 ID 或 page_token。",
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "bilibili_search_suggestions",
"outputSchema": {
"properties": {
"items": {
"description": "搜索建议列表。",
"items": {
"properties": {
"text": {
"description": "搜索输入框联想词。",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"type": "array"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"points"
],
"type": "object"
}
},
{
"description": "按关键词搜索 Bilibili 用户;已有 user_id 或用户主页链接时使用对应用户资料工具。支持 page_token 翻页。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"keyword": {
"description": "用户搜索关键词或短语,例如账号名;不要传主页链接、用户 ID 或 page_token。",
"type": "string"
},
"page_token": {
"default": "",
"description": "首页留空;后续原样传入同一关键词用户搜索返回的 next_page_token,不可跨能力使用。",
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "bilibili_search_users",
"outputSchema": {
"properties": {
"items": {
"description": "当前页用户搜索结果。",
"items": {
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "头像链接;不可用时为 null。"
},
"bio": {
"description": "用户简介;不可用时为空字符串。",
"type": "string"
},
"follower_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "粉丝数;不可用时为 null。"
},
"member_level": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "用户 B 站会员等级;不可用时为 null。"
},
"name": {
"description": "用户名称。",
"type": "string"
},
"posted_video_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "搜索结果展示的投稿视频数;不可用时为 null。"
},
"profile_url": {
"description": "用户主页链接,可用于现有用户资料和用户作品列表接口。",
"type": "string"
},
"user_id": {
"description": "B 站用户 UID;可直接作为 bilibili_get_user_info_by_user_id 的 user_id,也可用于按 user_id 获取用户发布视频、专栏或动态的工具。",
"type": "string"
},
"verification_label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站认证说明;没有认证或不可用时为 null。"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"follower_count",
"posted_video_count",
"verification_label",
"member_level"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示结束。必须原样传回同一用户搜索入口,不可跨关键词或能力使用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"type": "object"
}
},
{
"description": "搜索 Bilibili 视频。用户需要按搜索词查找视频时使用;已有视频、专栏或动态链接,或已有内容 ID 时使用对应的统一详情或评论工具;支持 page_token 翻页、排序、发布时间和时长筛选。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"duration_range": {
"default": "all",
"description": "视频时长筛选:all=全部时长,under_10_minutes=10分钟以下,between_10_and_30_minutes=10-30分钟,between_30_and_60_minutes=30-60分钟,over_60_minutes=60分钟以上。",
"enum": [
"all",
"under_10_minutes",
"between_10_and_30_minutes",
"between_30_and_60_minutes",
"over_60_minutes"
],
"type": "string"
},
"keyword": {
"description": "搜索 Bilibili 视频的搜索词,可传关键词或短语,例如品牌名、话题、人物名或产品名;不要传视频链接、专栏/动态链接、用户主页链接、BV 号、aid、专栏/动态 ID 或 page_token。",
"type": "string"
},
"page_token": {
"default": "",
"description": "Bilibili 视频搜索分页令牌。首次请求留空。继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回;page_token 是不透明分页令牌;不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容。只能用于同一关键词、排序、发布时间筛选和时长筛选的搜索链路,不能跨能力、关键词或筛选条件复用。消费多页搜索结果时,建议按 content_id 作为稳定键合并结果。",
"type": "string"
},
"publish_time_end_date": {
"default": "",
"description": "自定义发布时间结束日期,格式 YYYY-MM-DD;需要自定义日期范围时必须和 publish_time_start_date 同时填写,且 publish_time_range 保持 all。",
"type": "string"
},
"publish_time_range": {
"default": "all",
"description": "发布时间筛选:all=全部日期,day=最近一天,week=最近一周,half_year=最近半年;如需自定义日期范围,直接同时填写 publish_time_start_date 和 publish_time_end_date。",
"enum": [
"all",
"day",
"week",
"half_year"
],
"type": "string"
},
"publish_time_start_date": {
"default": "",
"description": "自定义发布时间开始日期,格式 YYYY-MM-DD;需要自定义日期范围时必须和 publish_time_end_date 同时填写,且 publish_time_range 保持 all。",
"type": "string"
},
"sort_type": {
"default": "general",
"description": "排序方式:general=综合排序,view_count_descending=最多播放,time_descending=最新发布,danmaku_count_descending=最多弹幕,collect_count_descending=最多收藏。",
"enum": [
"general",
"view_count_descending",
"time_descending",
"danmaku_count_descending",
"collect_count_descending"
],
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "bilibili_search_videos",
"outputSchema": {
"properties": {
"items": {
"description": "当前页视频搜索结果。",
"items": {
"properties": {
"aid": {
"description": "B 站视频数字 aid,即老 AV 号的数字部分;仅作为备用视频标识。没有 bvid 时,建议拼成 av{aid} 作为 content_id 传入,避免裸数字和专栏/动态 ID 混淆。",
"type": "string"
},
"author": {
"description": "视频作者信息。",
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "用户头像链接;不可用时为 null。"
},
"name": {
"description": "B 站用户名称;不可用时为空字符串。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "B 站用户主页链接;可用于打开用户主页;不可用时为 null。"
},
"user_id": {
"description": "B 站用户 user_id;用于标识作者或用户。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"type": "object"
},
"bvid": {
"description": "B 站视频 BV 号;读取视频详情时可作为 bilibili_get_content_detail_by_id 的 content_id 输入,优先使用 bvid;获取视频评论时也优先复用 bvid。",
"type": "string"
},
"category_id": {
"description": "视频分区 ID;不可用时为空字符串。",
"type": "string"
},
"category_name": {
"description": "视频分区名称;不可用时为空字符串。",
"type": "string"
},
"collect_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "收藏数;不可用时为 null。"
},
"comment_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "评论数;不可用时为 null。"
},
"content_id": {
"description": "可直接作为 bilibili_get_content_detail_by_id 或 bilibili_get_content_comments_by_id 的 content_id 输入;这里固定返回视频 bvid(BV...)。",
"type": "string"
},
"cover_image_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频封面图链接;不可用时为 null。"
},
"danmaku_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "弹幕数;不可用时为 null。"
},
"description": {
"description": "视频简介;不可用时为空字符串。",
"type": "string"
},
"duration_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "视频时长,单位秒;不可用时为 null。"
},
"like_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "点赞数;不可用时为 null。"
},
"publish_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "发布时间,秒级 Unix 时间戳;不可用时为 null。"
},
"share_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "视频分享页链接;不可用时为 null。"
},
"title": {
"description": "视频标题;不可用时为空字符串。",
"type": "string"
},
"topic_tags": {
"description": "标签列表;无标签时为空数组;每项只返回 name。",
"items": {
"properties": {
"name": {
"description": "标签名称。",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"view_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "播放数;不可用时为 null。"
}
},
"required": [
"content_id",
"bvid",
"aid",
"title",
"description",
"publish_time",
"duration_seconds",
"cover_image_url",
"share_url",
"view_count",
"like_count",
"collect_count",
"comment_count",
"danmaku_count",
"topic_tags",
"category_id",
"category_name",
"author"
],
"type": "object"
},
"type": "array"
},
"next_page_token": {
"description": "下一页不透明分页令牌;为空表示没有更多视频搜索结果。继续获取视频搜索下一页时,必须将返回的完整 next_page_token 原样作为 page_token 传回;只能用于同一关键词、排序、发布时间筛选和时长筛选的搜索链路;消费多页搜索结果时,建议按 content_id 作为稳定键合并结果。不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或自行生成,不得用省略号替换中间内容;不能跨能力、关键词或筛选条件复用。",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与调用完成时的账户积分余额。",
"properties": {
"balance": {
"description": "本次接口完成时看到的当前积分余额。",
"minimum": 0,
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"type": "object"
}
},
{
"description": "根据 Bilibili BV 号提交 P1 口播转文字任务;提交后最多等待 240 秒,未完成时返回 job_id 和下一步查询动作。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"bvid": {
"description": "Bilibili 视频 BV 号(BV...);用于转写视频 P1;如需转写 P2 或后续分 P,请改用 by_video_url 工具并在 URL 中传 p 参数;不要传视频链接、aid 或用户主页链接。",
"type": "string"
}
},
"required": [
"bvid"
],
"type": "object"
},
"name": "bilibili_submit_video_speech_text_by_bvid",
"outputSchema": {
"additionalProperties": false,
"properties": {
"content_id": {
"description": "平台内容 ID。",
"type": "string"
},
"content_meta": {
"additionalProperties": false,
"description": "作品上下文信息,便于结合转写内容做口播分析。",
"properties": {
"author": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作者头像链接。"
},
"name": {
"description": "作者昵称。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作者主页链接。"
},
"user_id": {
"description": "作者用户 ID。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"profile_url",
"avatar_url"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "作者信息。"
},
"content_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作品链接。"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "平台作品原始描述、正文或配文。"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "音视频时长,单位毫秒。"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作品标题;平台无标题时为 null。"
}
},
"required": [
"content_url",
"title",
"description",
"duration_ms",
"author"
],
"type": "object"
},
"content_type": {
"description": "内容类型。",
"type": "string"
},
"error": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"code": {
"description": "稳定错误码。",
"type": "string"
},
"message": {
"description": "面向用户的错误说明。",
"type": "string"
},
"retryable": {
"default": false,
"description": "是否可重试。",
"type": "boolean"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "失败或过期时的稳定错误结构;非终态或成功时为 null。"
},
"is_terminal": {
"description": "是否已终态。",
"type": "boolean"
},
"job_id": {
"description": "任务 ID。",
"type": "string"
},
"message": {
"description": "面向用户/AI 的状态说明。",
"type": "string"
},
"next_action": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": true,
"description": "下一步查询工具可直接使用的参数。",
"type": "object"
},
"instruction": {
"description": "给 AI/客户端的查询指令,说明如何继续轮询到终态。",
"type": "string"
},
"job_id": {
"description": "需要继续查询的 job_id。",
"type": "string"
},
"tool_name": {
"description": "下一步建议调用的查询工具。",
"type": "string"
}
},
"required": [
"tool_name",
"job_id",
"arguments",
"instruction"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "非终态时建议的下一步查询动作。"
},
"next_poll_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "建议下次查询前等待的秒数;非终态时可用。"
},
"platform": {
"description": "任务所属平台。",
"type": "string"
},
"source_id": {
"description": "任务来源 ID。",
"type": "string"
},
"status": {
"description": "任务状态。",
"enum": [
"queued",
"running",
"succeeded",
"failed",
"expired"
],
"type": "string"
},
"transcript": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"segments": {
"description": "按时间顺序排列的分段结果。",
"items": {
"additionalProperties": false,
"properties": {
"end_ms": {
"description": "分段结束时间,单位毫秒。",
"minimum": 0,
"type": "integer"
},
"start_ms": {
"description": "分段开始时间,单位毫秒。",
"minimum": 0,
"type": "integer"
},
"text": {
"description": "分段文本。",
"type": "string"
}
},
"required": [
"start_ms",
"end_ms",
"text"
],
"type": "object"
},
"type": "array"
},
"text": {
"description": "完整口播转文字结果。",
"type": "string"
}
},
"required": [
"text",
"segments"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "成功时的口播转文字结果;非终态或失败时为 null。"
}
},
"required": [
"job_id",
"status",
"is_terminal",
"platform",
"content_id",
"source_id",
"content_type",
"content_meta",
"transcript",
"error",
"next_poll_after_seconds",
"next_action",
"message"
],
"type": "object"
}
},
{
"description": "根据 Bilibili 视频链接、短链接或分享文案提交口播转文字任务;每次处理一个分 P,提交后最多等待 240 秒,未完成时返回 job_id 和下一步查询动作。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"video_url": {
"description": "Bilibili 视频链接、b23.tv 短链接或包含视频链接的分享文案;多 P 视频可在普通视频 URL 中使用 p 参数选择一个分 P,例如 ?p=2;普通视频链接未传 p 时转写 P1,短链接按解析后的目标分 P 转写;每次只转写一个分 P;不要传 BV 号或用户主页链接。",
"type": "string"
}
},
"required": [
"video_url"
],
"type": "object"
},
"name": "bilibili_submit_video_speech_text_by_video_url",
"outputSchema": {
"additionalProperties": false,
"properties": {
"content_id": {
"description": "平台内容 ID。",
"type": "string"
},
"content_meta": {
"additionalProperties": false,
"description": "作品上下文信息,便于结合转写内容做口播分析。",
"properties": {
"author": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作者头像链接。"
},
"name": {
"description": "作者昵称。",
"type": "string"
},
"profile_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作者主页链接。"
},
"user_id": {
"description": "作者用户 ID。",
"type": "string"
}
},
"required": [
"user_id",
"name",
"profile_url",
"avatar_url"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "作者信息。"
},
"content_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作品链接。"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "平台作品原始描述、正文或配文。"
},
"duration_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "音视频时长,单位毫秒。"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "作品标题;平台无标题时为 null。"
}
},
"required": [
"content_url",
"title",
"description",
"duration_ms",
"author"
],
"type": "object"
},
"content_type": {
"description": "内容类型。",
"type": "string"
},
"error": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"code": {
"description": "稳定错误码。",
"type": "string"
},
"message": {
"description": "面向用户的错误说明。",
"type": "string"
},
"retryable": {
"default": false,
"description": "是否可重试。",
"type": "boolean"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "失败或过期时的稳定错误结构;非终态或成功时为 null。"
},
"is_terminal": {
"description": "是否已终态。",
"type": "boolean"
},
"job_id": {
"description": "任务 ID。",
"type": "string"
},
"message": {
"description": "面向用户/AI 的状态说明。",
"type": "string"
},
"next_action": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": true,
"description": "下一步查询工具可直接使用的参数。",
"type": "object"
},
"instruction": {
"description": "给 AI/客户端的查询指令,说明如何继续轮询到终态。",
"type": "string"
},
"job_id": {
"description": "需要继续查询的 job_id。",
"type": "string"
},
"tool_name": {
"description": "下一步建议调用的查询工具。",
"type": "string"
}
},
"required": [
"tool_name",
"job_id",
"arguments",
"instruction"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "非终态时建议的下一步查询动作。"
},
"next_poll_after_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "建议下次查询前等待的秒数;非终态时可用。"
},
"platform": {
"description": "任务所属平台。",
"type": "string"
},
"source_id": {
"description": "任务来源 ID。",
"type": "string"
},
"status": {
"description": "任务状态。",
"enum": [
"queued",
"running",
"succeeded",
"failed",
"expired"
],
"type": "string"
},
"transcript": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"segments": {
"description": "按时间顺序排列的分段结果。",
"items": {
"additionalProperties": false,
"properties": {
"end_ms": {
"description": "分段结束时间,单位毫秒。",
"minimum": 0,
"type": "integer"
},
"start_ms": {
"description": "分段开始时间,单位毫秒。",
"minimum": 0,
"type": "integer"
},
"text": {
"description": "分段文本。",
"type": "string"
}
},
"required": [
"start_ms",
"end_ms",
"text"
],
"type": "object"
},
"type": "array"
},
"text": {
"description": "完整口播转文字结果。",
"type": "string"
}
},
"required": [
"text",
"segments"
],
"type": "object"
},
{
"type": "null"
}
],
"description": "成功时的口播转文字结果;非终态或失败时为 null。"
}
},
"required": [
"job_id",
"status",
"is_terminal",
"platform",
"content_id",
"source_id",
"content_type",
"content_meta",
"transcript",
"error",
"next_poll_after_seconds",
"next_action",
"message"
],
"type": "object"
}
},
{
"description": "查询当前 API Key 账户的 SocialDataX 积分余额、剩余积分或点数 / remaining points balance。需要充值时请访问 https://socialdatax.com/dashboard/billing。",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "socialdatax_get_points_balance",
"outputSchema": {
"additionalProperties": {
"type": "integer"
},
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:af96d8654e2841ba0ad32caa6232b84b2b1fa81313e6ccfc420a684c2deb59bd | sha256sum