Server definition
- Hash
- sha256:73d4980d3226c039311d3c9da04402f4e7f9a11fa34d2fc3f94e900ee65b441d
- What it is
- What a remote MCP server returned when asked what it offers: 19 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": "按准确吧名获取贴吧简介、标语、建吧日期、关注人数、帖子统计和友情链接贴吧。\n\n不知道准确吧名时,先用 baidu_tieba_search_suggestions 获取 forum_name;\n按关键词查找吧内帖子时,使用 baidu_tieba_search_posts_in_forum;无需关键词浏览时使用 baidu_tieba_get_forum_posts。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"forum_name": {
"description": "准确贴吧名称,例如 方便面;直接使用结果中的 forum_name,不要自行追加“吧”字;不要传 URL 或数字 ID,无需 URL 编码。",
"minLength": 1,
"type": "string"
}
},
"required": [
"forum_name"
],
"type": "object"
},
"name": "baidu_tieba_get_forum_detail",
"outputSchema": {
"properties": {
"created_date": {
"description": "建吧日期,格式 YYYY-MM-DD。",
"title": "Created Date",
"type": "string"
},
"description": {
"description": "贴吧简介;未提供内容时返回空字符串。",
"title": "Description",
"type": "string"
},
"forum_name": {
"description": "查询的贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"forum_url": {
"description": "贴吧链接。",
"title": "Forum Url",
"type": "string"
},
"member_count": {
"description": "关注人数。",
"minimum": 0,
"title": "Member Count",
"type": "integer"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"post_count": {
"description": "贴吧展示的帖子统计数,不保证仅统计主题帖。",
"minimum": 0,
"title": "Post Count",
"type": "integer"
},
"related_forums": {
"description": "贴吧展示的友情链接列表,保留展示顺序,不代表算法相似度排名;无友情链接时为空数组。",
"items": {
"properties": {
"avatar_url": {
"description": "贴吧头像链接。",
"title": "Avatar Url",
"type": "string"
},
"forum_id": {
"description": "贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "准确贴吧名称,可用于贴吧详情查询或吧内帖子关键词搜索。",
"title": "Forum Name",
"type": "string"
},
"forum_url": {
"description": "贴吧主页链接,可直接打开或引用。",
"title": "Forum Url",
"type": "string"
}
},
"required": [
"forum_id",
"forum_name",
"forum_url",
"avatar_url"
],
"title": "TiebaRelatedForum",
"type": "object"
},
"title": "Related Forums",
"type": "array"
},
"slogan": {
"description": "贴吧标语;未提供内容时返回空字符串。",
"title": "Slogan",
"type": "string"
}
},
"required": [
"forum_name",
"forum_url",
"slogan",
"description",
"created_date",
"member_count",
"post_count",
"related_forums",
"points"
],
"title": "TiebaForumDetailResult",
"type": "object"
}
},
{
"description": "按准确吧名浏览普通帖和置顶帖,无需关键词,支持分页,支持排序或仅查看精华帖。\n\n精华帖仅支持默认顺序,不提供分类选项。按关键词查找吧内帖子使用 baidu_tieba_search_posts_in_forum;\n只查询贴吧简介和统计使用 baidu_tieba_get_forum_detail。摘要和媒体可能不完整。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"featured_only": {
"default": false,
"description": "是否仅查看精华帖,false 表示不筛选(仍可包含精华帖);true 时 sort_type 必须为 default,按贴吧精华列表顺序返回。",
"type": "boolean"
},
"forum_name": {
"description": "准确贴吧名称,例如 方便面;直接使用结果中的 forum_name,不要自行追加“吧”字;不要传 URL 或数字 ID,无需 URL 编码。",
"minLength": 1,
"type": "string"
},
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传回 next_page_token,并保持 forum_name、sort_type、featured_only 不变。切换排序或精华筛选时,将 page_token 留空重新查询。只根据令牌判断是否续页,不按条数判断;不要使用其他接口或其他贴吧的令牌。",
"type": "string"
},
"sort_type": {
"default": "default",
"description": "排序方式:default 为贴吧默认顺序,newest 为最新发布,latest_reply 为最近回复,hot 为热门。顺序以贴吧实际返回为准,不保证严格按时间排列;仅查看精华时只支持 default。",
"enum": [
"default",
"newest",
"latest_reply",
"hot"
],
"type": "string"
}
},
"required": [
"forum_name"
],
"type": "object"
},
"name": "baidu_tieba_get_forum_posts",
"outputSchema": {
"properties": {
"items": {
"description": "本次返回的普通帖和置顶帖,保留展示顺序;不保证跨页无重复或覆盖全吧历史帖子。",
"items": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "本次列表提供的图片,可能不完整;空数组不代表帖子没有图片。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图高度,单位像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "上游提供的原图链接,可能有有效期;不保证原始图片无水印。",
"minLength": 1,
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图宽度,单位像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url",
"width",
"height"
],
"title": "TiebaForumPostImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"is_pinned": {
"description": "是否为贴吧列表中的置顶帖。",
"title": "Is Pinned",
"type": "boolean"
},
"like_count": {
"description": "点赞数。",
"title": "Like Count",
"type": "integer"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "发帖时间,秒级 Unix 时间戳;未提供时为 null。",
"title": "Publish Time"
},
"reply_count": {
"description": "帖子回复数。",
"minimum": 0,
"title": "Reply Count",
"type": "integer"
},
"share_count": {
"description": "分享数。",
"title": "Share Count",
"type": "integer"
},
"summary": {
"description": "帖子列表摘要,不是完整正文。",
"title": "Summary",
"type": "string"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"update_time": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "列表显示的最近回复时间,秒级 Unix 时间戳;未提供时为 null。",
"title": "Update Time"
},
"videos": {
"description": "列表提供的视频,可能不完整;未提供时为空数组。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片地址。",
"minLength": 1,
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"minimum": 0,
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,单位像素。",
"minimum": 0,
"title": "Height",
"type": "integer"
},
"play_count": {
"description": "视频播放次数,不代表独立观看人数。",
"minimum": 0,
"title": "Play Count",
"type": "integer"
},
"video_url": {
"description": "帖子列表提供的视频播放地址,可能有有效期。",
"minLength": 1,
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,单位像素。",
"minimum": 0,
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms",
"play_count"
],
"title": "TiebaUserPostVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
},
"view_count": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "帖子浏览数;未提供时为 null,与视频播放数不同。",
"title": "View Count"
}
},
"required": [
"thread_id",
"title",
"author",
"summary",
"images",
"videos",
"post_url",
"forum_id",
"forum_name",
"publish_time",
"update_time",
"like_count",
"share_count",
"reply_count",
"view_count",
"is_pinned"
],
"title": "TiebaForumPostItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页令牌;为空表示本次可读取列表结束。是否续页只看令牌,不按返回条数判断。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaForumPostsResult",
"type": "object"
}
},
{
"description": "按主题帖 ID 和一级评论 ID 读取楼中楼回复,支持分页,不提供排序。\n\ncomment_id 取一级评论列表的 comment_id;读取帖子一级评论使用评论列表工具。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"comment_id": {
"description": "一级评论 ID,取一级评论结果的 comment_id 或本工具结果的 parent_comment_id;不要传楼中楼回复自身的 comment_id。",
"pattern": "^[1-9][0-9]*$",
"type": "string"
},
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传入上一页 next_page_token,并保持 thread_id 和 comment_id 不变;不要使用搜索、一级评论或其它楼层的令牌。",
"type": "string"
},
"thread_id": {
"description": "主题帖数字 ID;使用查询一级评论时的 thread_id,也可取帖子搜索结果的 thread_id。",
"pattern": "^[1-9][0-9]*$",
"type": "string"
}
},
"required": [
"thread_id",
"comment_id"
],
"type": "object"
},
"name": "baidu_tieba_get_post_comment_replies",
"outputSchema": {
"properties": {
"items": {
"description": "当前页楼中楼回复,按贴吧返回顺序排列。",
"items": {
"properties": {
"author": {
"description": "回复作者。",
"properties": {
"avatar_url": {
"description": "评论作者头像链接;匿名评论时为贴吧默认头像,不代表真实用户头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "评论作者显示名称;匿名评论为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "评论作者贴吧主页链接;匿名评论为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "评论作者用户 ID,以字符串表示;匿名评论为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaCommentAuthor",
"type": "object"
},
"comment_id": {
"description": "楼中楼回复自身的 ID;不是回复列表入口所需的一级评论 ID。",
"title": "Comment Id",
"type": "string"
},
"content": {
"description": "回复正文纯文本,保留提及的用户名称;表情显示为[表情]。",
"title": "Content",
"type": "string"
},
"ip_location": {
"description": "作者 IP 属地;未提供时为空字符串,不能据此认定为评论发表时的位置。",
"title": "Ip Location",
"type": "string"
},
"like_count": {
"description": "回复点赞数。",
"title": "Like Count",
"type": "integer"
},
"mentioned_users": {
"description": "正文中可识别的提及用户,按出现顺序返回;无可识别提及时为空数组,不等同于被回复的评论关系。",
"items": {
"properties": {
"name": {
"description": "提及处的显示文本,可能包含 @ 前缀。",
"title": "Name",
"type": "string"
},
"user_id": {
"description": "被提及用户的 ID,以字符串表示。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name"
],
"title": "TiebaMentionedUser",
"type": "object"
},
"title": "Mentioned Users",
"type": "array"
},
"parent_comment_id": {
"description": "所属一级评论 ID,可用于继续查询该楼层的回复。",
"title": "Parent Comment Id",
"type": "string"
},
"publish_time": {
"description": "回复发布时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
}
},
"required": [
"comment_id",
"parent_comment_id",
"content",
"publish_time",
"like_count",
"author",
"ip_location",
"mentioned_users"
],
"title": "TiebaCommentReplyItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页完整分页令牌;为空表示没有更多结果。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaCommentRepliesResult",
"type": "object"
}
},
{
"description": "按主题帖数字 ID 读取百度贴吧一级评论,支持排序和分页,不包含楼中楼回复。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "分页令牌;首次留空。续页将上一页完整 next_page_token 原样传回,并保持同一帖子与 sort_type 不变;不要使用搜索或其他帖子的分页令牌。",
"type": "string"
},
"sort_type": {
"default": "hot",
"description": "评论排序请求:hot 请求热门评论(默认),newest 请求最新评论,oldest 请求最早评论;实际返回顺序以贴吧为准。",
"enum": [
"newest",
"oldest",
"hot"
],
"type": "string"
},
"thread_id": {
"description": "主题帖数字 ID,可取搜索结果的 thread_id;不要传帖子链接。",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"thread_id"
],
"type": "object"
},
"name": "baidu_tieba_get_post_comments_by_thread_id",
"outputSchema": {
"properties": {
"items": {
"description": "当前页一级评论列表。",
"items": {
"properties": {
"author": {
"description": "评论作者。",
"properties": {
"avatar_url": {
"description": "评论作者头像链接;匿名评论时为贴吧默认头像,不代表真实用户头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "评论作者显示名称;匿名评论为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "评论作者贴吧主页链接;匿名评论为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "评论作者用户 ID,以字符串表示;匿名评论为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaCommentAuthor",
"type": "object"
},
"comment_id": {
"description": "评论 ID,以字符串表示。",
"title": "Comment Id",
"type": "string"
},
"content": {
"description": "评论正文纯文本;表情以“[表情]”表示。",
"title": "Content",
"type": "string"
},
"floor": {
"description": "评论在主题帖内的楼层号;不是评论 ID、页码或当前页序号。",
"title": "Floor",
"type": "integer"
},
"has_replies": {
"description": "该一级评论是否存在楼中楼回复;接口不返回楼中楼回复的具体内容。",
"title": "Has Replies",
"type": "boolean"
},
"ip_location": {
"description": "作者 IP 属地;未提供时为空字符串,不能据此认定为评论发表时的位置。",
"title": "Ip Location",
"type": "string"
},
"like_count": {
"description": "评论获赞数。",
"title": "Like Count",
"type": "integer"
},
"mentioned_users": {
"description": "正文中可识别的提及用户,按出现顺序返回;无可识别提及时为空数组,不等同于被回复的评论关系。",
"items": {
"properties": {
"name": {
"description": "提及处的显示文本,可能包含 @ 前缀。",
"title": "Name",
"type": "string"
},
"user_id": {
"description": "被提及用户的 ID,以字符串表示。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name"
],
"title": "TiebaMentionedUser",
"type": "object"
},
"title": "Mentioned Users",
"type": "array"
},
"publish_time": {
"description": "评论发布时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"reply_count": {
"description": "该一级评论的楼中楼回复数。",
"title": "Reply Count",
"type": "integer"
}
},
"required": [
"comment_id",
"floor",
"content",
"publish_time",
"like_count",
"reply_count",
"has_replies",
"author",
"ip_location",
"mentioned_users"
],
"title": "TiebaCommentItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页完整分页令牌;为空表示没有更多结果。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaCommentsResult",
"type": "object"
}
},
{
"description": "按百度贴吧主题帖链接读取一级评论,支持排序和分页,不包含楼中楼回复。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "分页令牌;首次留空。续页将上一页完整 next_page_token 原样传回,并保持同一帖子与 sort_type 不变;不要使用搜索或其他帖子的分页令牌。",
"type": "string"
},
"sort_type": {
"default": "hot",
"description": "评论排序请求:hot 请求热门评论(默认),newest 请求最新评论,oldest 请求最早评论;实际返回顺序以贴吧为准。",
"enum": [
"newest",
"oldest",
"hot"
],
"type": "string"
},
"url": {
"description": "百度贴吧主题帖完整链接,可取搜索结果的 post_url,支持 /p/数字ID/;不要传纯 ID。",
"pattern": "https?://",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "baidu_tieba_get_post_comments_by_url",
"outputSchema": {
"properties": {
"items": {
"description": "当前页一级评论列表。",
"items": {
"properties": {
"author": {
"description": "评论作者。",
"properties": {
"avatar_url": {
"description": "评论作者头像链接;匿名评论时为贴吧默认头像,不代表真实用户头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "评论作者显示名称;匿名评论为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "评论作者贴吧主页链接;匿名评论为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "评论作者用户 ID,以字符串表示;匿名评论为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaCommentAuthor",
"type": "object"
},
"comment_id": {
"description": "评论 ID,以字符串表示。",
"title": "Comment Id",
"type": "string"
},
"content": {
"description": "评论正文纯文本;表情以“[表情]”表示。",
"title": "Content",
"type": "string"
},
"floor": {
"description": "评论在主题帖内的楼层号;不是评论 ID、页码或当前页序号。",
"title": "Floor",
"type": "integer"
},
"has_replies": {
"description": "该一级评论是否存在楼中楼回复;接口不返回楼中楼回复的具体内容。",
"title": "Has Replies",
"type": "boolean"
},
"ip_location": {
"description": "作者 IP 属地;未提供时为空字符串,不能据此认定为评论发表时的位置。",
"title": "Ip Location",
"type": "string"
},
"like_count": {
"description": "评论获赞数。",
"title": "Like Count",
"type": "integer"
},
"mentioned_users": {
"description": "正文中可识别的提及用户,按出现顺序返回;无可识别提及时为空数组,不等同于被回复的评论关系。",
"items": {
"properties": {
"name": {
"description": "提及处的显示文本,可能包含 @ 前缀。",
"title": "Name",
"type": "string"
},
"user_id": {
"description": "被提及用户的 ID,以字符串表示。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name"
],
"title": "TiebaMentionedUser",
"type": "object"
},
"title": "Mentioned Users",
"type": "array"
},
"publish_time": {
"description": "评论发布时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"reply_count": {
"description": "该一级评论的楼中楼回复数。",
"title": "Reply Count",
"type": "integer"
}
},
"required": [
"comment_id",
"floor",
"content",
"publish_time",
"like_count",
"reply_count",
"has_replies",
"author",
"ip_location",
"mentioned_users"
],
"title": "TiebaCommentItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页完整分页令牌;为空表示没有更多结果。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaCommentsResult",
"type": "object"
}
},
{
"description": "按主题帖数字 ID 读取百度贴吧详情;不包含完整回复列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"thread_id": {
"description": "主题帖数字 ID,可取贴吧搜索结果的 thread_id;不要传帖子链接。",
"pattern": "^[0-9]+$",
"type": "string"
}
},
"required": [
"thread_id"
],
"type": "object"
},
"name": "baidu_tieba_get_post_detail_by_thread_id",
"outputSchema": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"collect_count": {
"description": "帖子收藏数。",
"title": "Collect Count",
"type": "integer"
},
"content": {
"description": "首楼正文纯文本;表情以“[表情]”表示;无可见正文时为空字符串。",
"title": "Content",
"type": "string"
},
"floor_count": {
"description": "主题帖有效楼层数。",
"title": "Floor Count",
"type": "integer"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "首楼图片列表。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "原图高度,像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "帖子原图链接,可能有有效期;不保证图片无水印。",
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "原图宽度,像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url"
],
"title": "TiebaPostDetailImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"like_count": {
"description": "帖子获赞数。",
"title": "Like Count",
"type": "integer"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"description": "发帖时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"reply_count": {
"description": "帖子回复数。",
"title": "Reply Count",
"type": "integer"
},
"share_count": {
"description": "帖子分享数。",
"title": "Share Count",
"type": "integer"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"videos": {
"description": "首楼视频列表。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片链接。",
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,像素。",
"title": "Height",
"type": "integer"
},
"video_url": {
"description": "视频播放链接;有效期可能有限。",
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,像素。",
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms"
],
"title": "TiebaPostDetailVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
}
},
"required": [
"thread_id",
"title",
"content",
"post_url",
"publish_time",
"author",
"forum_id",
"forum_name",
"images",
"videos",
"like_count",
"share_count",
"collect_count",
"reply_count",
"floor_count",
"points"
],
"title": "TiebaPostDetailResult",
"type": "object"
}
},
{
"description": "按百度贴吧主题帖链接读取详情;不包含完整回复列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"url": {
"description": "百度贴吧主题帖完整链接,支持 /p/数字ID/;不要传纯 ID。",
"pattern": "https?://",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "baidu_tieba_get_post_detail_by_url",
"outputSchema": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"collect_count": {
"description": "帖子收藏数。",
"title": "Collect Count",
"type": "integer"
},
"content": {
"description": "首楼正文纯文本;表情以“[表情]”表示;无可见正文时为空字符串。",
"title": "Content",
"type": "string"
},
"floor_count": {
"description": "主题帖有效楼层数。",
"title": "Floor Count",
"type": "integer"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "首楼图片列表。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "原图高度,像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "帖子原图链接,可能有有效期;不保证图片无水印。",
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "原图宽度,像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url"
],
"title": "TiebaPostDetailImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"like_count": {
"description": "帖子获赞数。",
"title": "Like Count",
"type": "integer"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"description": "发帖时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"reply_count": {
"description": "帖子回复数。",
"title": "Reply Count",
"type": "integer"
},
"share_count": {
"description": "帖子分享数。",
"title": "Share Count",
"type": "integer"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"videos": {
"description": "首楼视频列表。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片链接。",
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,像素。",
"title": "Height",
"type": "integer"
},
"video_url": {
"description": "视频播放链接;有效期可能有限。",
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,像素。",
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms"
],
"title": "TiebaPostDetailVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
}
},
"required": [
"thread_id",
"title",
"content",
"post_url",
"publish_time",
"author",
"forum_id",
"forum_name",
"images",
"videos",
"like_count",
"share_count",
"collect_count",
"reply_count",
"floor_count",
"points"
],
"title": "TiebaPostDetailResult",
"type": "object"
}
},
{
"description": "按主页链接读取用户公开可读取的关注贴吧列表,支持分页,返回贴吧 ID、名称、头像、链接和用户在吧内的等级。\n\n已有 profile_url 时优先使用本工具;仅有数字用户 ID 时使用 baidu_tieba_get_user_followed_forums_by_user_id。\n不查询关注的用户或用户发帖,未提供列表时返回错误。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传入本接口的 next_page_token,保持同一用户入口和标识。不要使用发帖列表、搜索、评论或其他用户的令牌。",
"type": "string"
},
"profile_url": {
"description": "百度贴吧用户主页完整链接,形如 https://tieba.baidu.com/home/main?id=…;可取搜索、详情或评论作者的 profile_url,不接受数字用户 ID、昵称或帖子链接。",
"minLength": 1,
"type": "string"
}
},
"required": [
"profile_url"
],
"type": "object"
},
"name": "baidu_tieba_get_user_followed_forums_by_profile_url",
"outputSchema": {
"properties": {
"items": {
"description": "当前页关注的贴吧,保留贴吧返回顺序。",
"items": {
"properties": {
"avatar_url": {
"description": "贴吧头像链接,可能有有效期。",
"minLength": 1,
"title": "Avatar Url",
"type": "string"
},
"forum_id": {
"description": "贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "准确贴吧名称,可用于贴吧详情查询或吧内帖子关键词搜索。",
"title": "Forum Name",
"type": "string"
},
"forum_url": {
"description": "贴吧页面完整链接。",
"title": "Forum Url",
"type": "string"
},
"user_level": {
"description": "目标用户在该贴吧的等级,不是贴吧整体等级或热度。",
"minimum": 0,
"title": "User Level",
"type": "integer"
}
},
"required": [
"forum_id",
"forum_name",
"forum_url",
"user_level",
"avatar_url"
],
"title": "TiebaFollowedForumItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页令牌;为空表示本次可读取列表结束。是否续页只看令牌,不按当前条数判断。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaFollowedForumsResult",
"type": "object"
}
},
{
"description": "按数字用户 ID 读取用户公开可读取的关注贴吧列表,支持分页,返回贴吧 ID、名称、头像、链接和用户在吧内的等级。\n\n已有 profile_url 时优先使用 baidu_tieba_get_user_followed_forums_by_profile_url;不查询关注的用户或用户发帖,未提供列表时返回错误。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传入本接口的 next_page_token,保持同一用户入口和标识。不要使用发帖列表、搜索、评论或其他用户的令牌。",
"type": "string"
},
"user_id": {
"description": "百度贴吧数字用户 ID,可取搜索、帖子详情或评论作者的 user_id;不是主页链接中的 portrait 或 tieba_uid。",
"pattern": "^[1-9][0-9]{0,18}$",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
},
"name": "baidu_tieba_get_user_followed_forums_by_user_id",
"outputSchema": {
"properties": {
"items": {
"description": "当前页关注的贴吧,保留贴吧返回顺序。",
"items": {
"properties": {
"avatar_url": {
"description": "贴吧头像链接,可能有有效期。",
"minLength": 1,
"title": "Avatar Url",
"type": "string"
},
"forum_id": {
"description": "贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "准确贴吧名称,可用于贴吧详情查询或吧内帖子关键词搜索。",
"title": "Forum Name",
"type": "string"
},
"forum_url": {
"description": "贴吧页面完整链接。",
"title": "Forum Url",
"type": "string"
},
"user_level": {
"description": "目标用户在该贴吧的等级,不是贴吧整体等级或热度。",
"minimum": 0,
"title": "User Level",
"type": "integer"
}
},
"required": [
"forum_id",
"forum_name",
"forum_url",
"user_level",
"avatar_url"
],
"title": "TiebaFollowedForumItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页令牌;为空表示本次可读取列表结束。是否续页只看令牌,不按当前条数判断。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaFollowedForumsResult",
"type": "object"
}
},
{
"description": "通过百度贴吧用户主页链接读取资料、签名、粉丝数、关注数、累计获赞、吧龄和 IP 属地。\n\n已有 profile_url 时优先使用本工具;链接可取搜索、帖子详情或评论作者的同名字段。\n仅有数字用户 ID 时使用 baidu_tieba_get_user_info_by_user_id;不返回发帖或回复列表。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"profile_url": {
"description": "百度贴吧用户主页完整链接,形如 https://tieba.baidu.com/home/main?id=…;可取搜索、详情或评论作者的 profile_url,不接受数字用户 ID、昵称或帖子链接。",
"minLength": 1,
"type": "string"
}
},
"required": [
"profile_url"
],
"type": "object"
},
"name": "baidu_tieba_get_user_info_by_profile_url",
"outputSchema": {
"properties": {
"avatar_url": {
"description": "用户头像链接。",
"title": "Avatar Url",
"type": "string"
},
"bio": {
"description": "用户个人签名;未提供时为空字符串。",
"title": "Bio",
"type": "string"
},
"follower_count": {
"description": "粉丝数。",
"minimum": 0,
"title": "Follower Count",
"type": "integer"
},
"following_count": {
"description": "关注数。",
"minimum": 0,
"title": "Following Count",
"type": "integer"
},
"ip_location": {
"description": "用户资料显示的 IP 属地。",
"title": "Ip Location",
"type": "string"
},
"name": {
"description": "用户显示名称。",
"title": "Name",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"profile_url": {
"description": "用户主页链接,可用于再次查询用户资料。",
"title": "Profile Url",
"type": "string"
},
"received_like_count": {
"description": "累计获赞数。",
"minimum": 0,
"title": "Received Like Count",
"type": "integer"
},
"tieba_age": {
"description": "贴吧展示的吧龄,单位年,保留显示精度,例如 9.2;不是注册日期。",
"title": "Tieba Age",
"type": "string"
},
"user_id": {
"description": "用户 ID,以字符串表示,可用于查询用户资料。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"follower_count",
"following_count",
"received_like_count",
"tieba_age",
"ip_location",
"points"
],
"title": "TiebaUserInfoResult",
"type": "object"
}
},
{
"description": "仅有百度贴吧数字用户 ID 时读取用户资料及主页统计;已有 profile_url 时优先使用 baidu_tieba_get_user_info_by_profile_url。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"user_id": {
"description": "百度贴吧数字用户 ID,可取搜索、帖子详情或评论作者的 user_id;不是主页链接中的 portrait 或 tieba_uid。",
"pattern": "^[1-9][0-9]{0,18}$",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
},
"name": "baidu_tieba_get_user_info_by_user_id",
"outputSchema": {
"properties": {
"avatar_url": {
"description": "用户头像链接。",
"title": "Avatar Url",
"type": "string"
},
"bio": {
"description": "用户个人签名;未提供时为空字符串。",
"title": "Bio",
"type": "string"
},
"follower_count": {
"description": "粉丝数。",
"minimum": 0,
"title": "Follower Count",
"type": "integer"
},
"following_count": {
"description": "关注数。",
"minimum": 0,
"title": "Following Count",
"type": "integer"
},
"ip_location": {
"description": "用户资料显示的 IP 属地。",
"title": "Ip Location",
"type": "string"
},
"name": {
"description": "用户显示名称。",
"title": "Name",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"profile_url": {
"description": "用户主页链接,可用于再次查询用户资料。",
"title": "Profile Url",
"type": "string"
},
"received_like_count": {
"description": "累计获赞数。",
"minimum": 0,
"title": "Received Like Count",
"type": "integer"
},
"tieba_age": {
"description": "贴吧展示的吧龄,单位年,保留显示精度,例如 9.2;不是注册日期。",
"title": "Tieba Age",
"type": "string"
},
"user_id": {
"description": "用户 ID,以字符串表示,可用于查询用户资料。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"follower_count",
"following_count",
"received_like_count",
"tieba_age",
"ip_location",
"points"
],
"title": "TiebaUserInfoResult",
"type": "object"
}
},
{
"description": "按主页链接读取该用户发布的主题帖,支持分页,不包含回复活动,不提供排序。\n\n已有 profile_url 时优先使用本工具;仅有数字用户 ID 时使用 baidu_tieba_get_user_posts_by_user_id。\n列表及媒体不保证完整,空令牌表示本次可读取列表结束。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传入本接口返回的 next_page_token,并保持相同的用户入口和标识。不要使用搜索、评论或其他用户的令牌。",
"type": "string"
},
"profile_url": {
"description": "百度贴吧用户主页完整链接,形如 https://tieba.baidu.com/home/main?id=…;可取搜索、详情或评论作者的 profile_url,不接受数字用户 ID、昵称或帖子链接。",
"minLength": 1,
"type": "string"
}
},
"required": [
"profile_url"
],
"type": "object"
},
"name": "baidu_tieba_get_user_posts_by_profile_url",
"outputSchema": {
"properties": {
"items": {
"description": "当前页用户发布的主题帖,保留贴吧返回顺序。",
"items": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "列表提供的图片,可能不完整;未提供时为空数组。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图高度,单位像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "上游提供的原图链接,可能有有效期;不保证原始图片无水印。",
"minLength": 1,
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图宽度,单位像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url",
"width",
"height"
],
"title": "TiebaUserPostImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"like_count": {
"description": "点赞数。",
"title": "Like Count",
"type": "integer"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"description": "发帖时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"reply_count": {
"description": "帖子回复数。",
"minimum": 0,
"title": "Reply Count",
"type": "integer"
},
"share_count": {
"description": "分享数。",
"title": "Share Count",
"type": "integer"
},
"summary": {
"description": "帖子列表摘要,不是完整正文。",
"title": "Summary",
"type": "string"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"update_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "更新时间,秒级 Unix 时间戳;未提供时为 null。",
"title": "Update Time"
},
"videos": {
"description": "列表提供的视频,可能不完整;未提供时为空数组。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片地址。",
"minLength": 1,
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"minimum": 0,
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,单位像素。",
"minimum": 0,
"title": "Height",
"type": "integer"
},
"play_count": {
"description": "视频播放次数,不代表独立观看人数。",
"minimum": 0,
"title": "Play Count",
"type": "integer"
},
"video_url": {
"description": "帖子列表提供的视频播放地址,可能有有效期。",
"minLength": 1,
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,单位像素。",
"minimum": 0,
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms",
"play_count"
],
"title": "TiebaUserPostVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
},
"view_count": {
"description": "帖子浏览数,与视频播放次数不同。",
"minimum": 0,
"title": "View Count",
"type": "integer"
}
},
"required": [
"thread_id",
"title",
"author",
"summary",
"images",
"videos",
"post_url",
"forum_id",
"forum_name",
"publish_time",
"update_time",
"like_count",
"share_count",
"reply_count",
"view_count"
],
"title": "TiebaUserPostItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页令牌;为空表示本次可读取列表结束,不代表该用户全部历史帖子都已返回。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaUserPostsResult",
"type": "object"
}
},
{
"description": "按数字用户 ID 读取该用户发布的主题帖,支持分页,不包含回复活动,不提供排序。\n\n已有主页链接时优先使用 baidu_tieba_get_user_posts_by_profile_url;列表及媒体不保证完整,空令牌表示本次可读取列表结束。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传入本接口返回的 next_page_token,并保持相同的用户入口和标识。不要使用搜索、评论或其他用户的令牌。",
"type": "string"
},
"user_id": {
"description": "百度贴吧数字用户 ID,可取搜索、帖子详情或评论作者的 user_id;不是主页链接中的 portrait 或 tieba_uid。",
"pattern": "^[1-9][0-9]{0,18}$",
"type": "string"
}
},
"required": [
"user_id"
],
"type": "object"
},
"name": "baidu_tieba_get_user_posts_by_user_id",
"outputSchema": {
"properties": {
"items": {
"description": "当前页用户发布的主题帖,保留贴吧返回顺序。",
"items": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "列表提供的图片,可能不完整;未提供时为空数组。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图高度,单位像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "上游提供的原图链接,可能有有效期;不保证原始图片无水印。",
"minLength": 1,
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图宽度,单位像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url",
"width",
"height"
],
"title": "TiebaUserPostImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"like_count": {
"description": "点赞数。",
"title": "Like Count",
"type": "integer"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"description": "发帖时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"reply_count": {
"description": "帖子回复数。",
"minimum": 0,
"title": "Reply Count",
"type": "integer"
},
"share_count": {
"description": "分享数。",
"title": "Share Count",
"type": "integer"
},
"summary": {
"description": "帖子列表摘要,不是完整正文。",
"title": "Summary",
"type": "string"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"update_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "更新时间,秒级 Unix 时间戳;未提供时为 null。",
"title": "Update Time"
},
"videos": {
"description": "列表提供的视频,可能不完整;未提供时为空数组。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片地址。",
"minLength": 1,
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"minimum": 0,
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,单位像素。",
"minimum": 0,
"title": "Height",
"type": "integer"
},
"play_count": {
"description": "视频播放次数,不代表独立观看人数。",
"minimum": 0,
"title": "Play Count",
"type": "integer"
},
"video_url": {
"description": "帖子列表提供的视频播放地址,可能有有效期。",
"minLength": 1,
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,单位像素。",
"minimum": 0,
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms",
"play_count"
],
"title": "TiebaUserPostVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
},
"view_count": {
"description": "帖子浏览数,与视频播放次数不同。",
"minimum": 0,
"title": "View Count",
"type": "integer"
}
},
"required": [
"thread_id",
"title",
"author",
"summary",
"images",
"videos",
"post_url",
"forum_id",
"forum_name",
"publish_time",
"update_time",
"like_count",
"share_count",
"reply_count",
"view_count"
],
"title": "TiebaUserPostItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页令牌;为空表示本次可读取列表结束,不代表该用户全部历史帖子都已返回。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaUserPostsResult",
"type": "object"
}
},
{
"description": "按关键词获取百度贴吧综合搜索中的帖子,保留帖子顺序,支持分页。\n\n不返回吧、用户、话题或搜索建议。需要最新、最早、相关排序时使用帖子搜索;\n指定帖子链接或 ID 使用详情工具。当前页没有帖子时,仍以 next_page_token 判断能否续页。\n图片、视频仅来自搜索结果,可能不完整,无法据此判断媒体总数。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"keyword": {
"description": "搜索词或关键词短语,例如 摄影、旅行攻略;不要传帖子链接或分页令牌。",
"minLength": 1,
"type": "string"
},
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传回综合搜索返回的 next_page_token,并保持 keyword 不变;即使 items 为空,只要令牌非空仍可继续翻页。不要使用帖子搜索或评论的分页令牌。",
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "baidu_tieba_search_general",
"outputSchema": {
"properties": {
"items": {
"description": "当前页帖子列表。",
"items": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "搜索结果提供的图片,可能不完整;空数组表示本次未提供,不代表帖子没有图片。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图高度,单位像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "搜索结果提供的原图链接,可能有有效期;不保证图片无水印。",
"minLength": 1,
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图宽度,单位像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url",
"width",
"height"
],
"title": "TiebaSearchImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"like_count": {
"description": "点赞数。",
"title": "Like Count",
"type": "integer"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"description": "发帖时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"share_count": {
"description": "分享数。",
"title": "Share Count",
"type": "integer"
},
"summary": {
"description": "搜索结果摘要,不是完整正文。",
"title": "Summary",
"type": "string"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"update_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "更新时间,秒级 Unix 时间戳;未提供时为 null。",
"title": "Update Time"
},
"videos": {
"description": "搜索结果提供的视频,可能不完整;空数组表示本次未提供,不代表帖子没有视频。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片地址。",
"minLength": 1,
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"minimum": 0,
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,单位像素。",
"minimum": 0,
"title": "Height",
"type": "integer"
},
"play_count": {
"description": "视频播放次数,不代表独立观看人数。",
"minimum": 0,
"title": "Play Count",
"type": "integer"
},
"video_url": {
"description": "搜索结果提供的视频播放地址,可能有有效期。",
"minLength": 1,
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,单位像素。",
"minimum": 0,
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms",
"play_count"
],
"title": "TiebaSearchVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
}
},
"required": [
"thread_id",
"title",
"author",
"summary",
"images",
"videos",
"post_url",
"forum_id",
"forum_name",
"publish_time",
"update_time",
"like_count",
"share_count"
],
"title": "TiebaPostSearchItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页完整分页令牌;为空表示没有更多结果。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaPostSearchResult",
"type": "object"
}
},
{
"description": "按搜索词搜索百度贴吧公开帖子,支持分页令牌和排序;需要综合搜索中的帖子顺序时使用综合搜索,指定帖子链接使用详情工具;需要限定贴吧时使用 baidu_tieba_search_posts_in_forum。图片、视频仅来自搜索结果,可能不完整。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"keyword": {
"description": "搜索词或关键词短语,例如 方便面、旅行攻略;不要传帖子链接、帖子 ID 或分页令牌。需要限定某个贴吧时使用吧内帖子搜索。",
"minLength": 1,
"type": "string"
},
"page_token": {
"default": "",
"description": "分页令牌;首次留空。续页将上一页完整 next_page_token 原样传回,并保持 keyword 与 sort_type 不变。",
"type": "string"
},
"sort_type": {
"default": "newest",
"description": "排序方式:newest 为最新、oldest 为最早、relevance 为相关。",
"enum": [
"newest",
"oldest",
"relevance"
],
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "baidu_tieba_search_posts",
"outputSchema": {
"properties": {
"items": {
"description": "当前页帖子列表。",
"items": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "搜索结果提供的图片,可能不完整;空数组表示本次未提供,不代表帖子没有图片。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图高度,单位像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "搜索结果提供的原图链接,可能有有效期;不保证图片无水印。",
"minLength": 1,
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图宽度,单位像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url",
"width",
"height"
],
"title": "TiebaSearchImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"like_count": {
"description": "点赞数。",
"title": "Like Count",
"type": "integer"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"description": "发帖时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"share_count": {
"description": "分享数。",
"title": "Share Count",
"type": "integer"
},
"summary": {
"description": "搜索结果摘要,不是完整正文。",
"title": "Summary",
"type": "string"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"update_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "更新时间,秒级 Unix 时间戳;未提供时为 null。",
"title": "Update Time"
},
"videos": {
"description": "搜索结果提供的视频,可能不完整;空数组表示本次未提供,不代表帖子没有视频。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片地址。",
"minLength": 1,
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"minimum": 0,
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,单位像素。",
"minimum": 0,
"title": "Height",
"type": "integer"
},
"play_count": {
"description": "视频播放次数,不代表独立观看人数。",
"minimum": 0,
"title": "Play Count",
"type": "integer"
},
"video_url": {
"description": "搜索结果提供的视频播放地址,可能有有效期。",
"minLength": 1,
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,单位像素。",
"minimum": 0,
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms",
"play_count"
],
"title": "TiebaSearchVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
}
},
"required": [
"thread_id",
"title",
"author",
"summary",
"images",
"videos",
"post_url",
"forum_id",
"forum_name",
"publish_time",
"update_time",
"like_count",
"share_count"
],
"title": "TiebaPostSearchItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页完整分页令牌;为空表示没有更多结果。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaPostSearchResult",
"type": "object"
}
},
{
"description": "按准确贴吧名称和关键词搜索该吧主题帖,支持最新或相关排序及分页,不搜索评论。\n\n不限定贴吧时使用全站帖子搜索;返回摘要及可能不完整的图片和视频。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"forum_name": {
"description": "准确贴吧名称,例如 方便面;直接使用结果中的 forum_name,不要自行追加“吧”字;不要传 URL 或数字 ID,无需 URL 编码。",
"minLength": 1,
"type": "string"
},
"keyword": {
"description": "在指定贴吧中搜索的关键词或短语;不要传帖子链接或分页令牌。",
"minLength": 1,
"type": "string"
},
"page_token": {
"default": "",
"description": "分页令牌;首次留空,续页原样传入本接口返回的 next_page_token,保持 forum_name、keyword、sort_type 不变;不要使用其他搜索接口的令牌。",
"type": "string"
},
"sort_type": {
"default": "newest",
"description": "排序方式:newest 为最新(默认),relevance 为相关;relevant 仅兼容旧调用,新调用请使用 relevance。结果顺序以贴吧返回为准。",
"enum": [
"newest",
"relevance",
"relevant"
],
"type": "string"
}
},
"required": [
"forum_name",
"keyword"
],
"type": "object"
},
"name": "baidu_tieba_search_posts_in_forum",
"outputSchema": {
"properties": {
"items": {
"description": "当前页帖子列表。",
"items": {
"properties": {
"author": {
"description": "帖子作者。",
"properties": {
"avatar_url": {
"description": "作者头像链接;匿名历史帖子为贴吧默认头像。",
"title": "Avatar Url",
"type": "string"
},
"name": {
"description": "作者显示名称;匿名历史帖子为空字符串。",
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "作者贴吧主页链接;默认头像或匿名历史帖子为空字符串。",
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "作者用户 ID,以字符串表示;匿名历史帖子为空字符串。",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url"
],
"title": "TiebaSearchAuthor",
"type": "object"
},
"forum_id": {
"description": "所属贴吧 ID,以字符串表示。",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "帖子所属贴吧名称。",
"title": "Forum Name",
"type": "string"
},
"images": {
"description": "搜索结果提供的图片,可能不完整;空数组表示本次未提供,不代表帖子没有图片。",
"items": {
"properties": {
"height": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图高度,单位像素;未提供时为 null。",
"title": "Height"
},
"url": {
"description": "搜索结果提供的原图链接,可能有有效期;不保证图片无水印。",
"minLength": 1,
"title": "Url",
"type": "string"
},
"width": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "原图宽度,单位像素;未提供时为 null。",
"title": "Width"
}
},
"required": [
"url",
"width",
"height"
],
"title": "TiebaSearchImage",
"type": "object"
},
"title": "Images",
"type": "array"
},
"like_count": {
"description": "点赞数。",
"title": "Like Count",
"type": "integer"
},
"post_url": {
"description": "帖子页面链接。",
"title": "Post Url",
"type": "string"
},
"publish_time": {
"description": "发帖时间,秒级 Unix 时间戳。",
"title": "Publish Time",
"type": "integer"
},
"share_count": {
"description": "分享数。",
"title": "Share Count",
"type": "integer"
},
"summary": {
"description": "搜索结果摘要,不是完整正文。",
"title": "Summary",
"type": "string"
},
"thread_id": {
"description": "主题帖 ID,以字符串表示。",
"title": "Thread Id",
"type": "string"
},
"title": {
"description": "帖子标题。",
"title": "Title",
"type": "string"
},
"update_time": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"description": "更新时间,秒级 Unix 时间戳;未提供时为 null。",
"title": "Update Time"
},
"videos": {
"description": "搜索结果提供的视频,可能不完整;空数组表示本次未提供,不代表帖子没有视频。",
"items": {
"properties": {
"cover_image_url": {
"description": "视频封面图片地址。",
"minLength": 1,
"title": "Cover Image Url",
"type": "string"
},
"duration_ms": {
"description": "视频时长,单位毫秒。",
"minimum": 0,
"title": "Duration Ms",
"type": "integer"
},
"height": {
"description": "视频高度,单位像素。",
"minimum": 0,
"title": "Height",
"type": "integer"
},
"play_count": {
"description": "视频播放次数,不代表独立观看人数。",
"minimum": 0,
"title": "Play Count",
"type": "integer"
},
"video_url": {
"description": "搜索结果提供的视频播放地址,可能有有效期。",
"minLength": 1,
"title": "Video Url",
"type": "string"
},
"width": {
"description": "视频宽度,单位像素。",
"minimum": 0,
"title": "Width",
"type": "integer"
}
},
"required": [
"video_url",
"cover_image_url",
"width",
"height",
"duration_ms",
"play_count"
],
"title": "TiebaSearchVideo",
"type": "object"
},
"title": "Videos",
"type": "array"
}
},
"required": [
"thread_id",
"title",
"author",
"summary",
"images",
"videos",
"post_url",
"forum_id",
"forum_name",
"publish_time",
"update_time",
"like_count",
"share_count"
],
"title": "TiebaPostSearchItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"next_page_token": {
"description": "下一页完整分页令牌;为空表示没有更多结果。",
"title": "Next Page Token",
"type": "string"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"next_page_token",
"points"
],
"title": "TiebaPostSearchResult",
"type": "object"
}
},
{
"description": "获取贴吧搜索框的吧名联想词和相关贴吧信息,不搜索帖子或用户,不支持分页。\n\nitems 与 forums 为两组独立结果,不保证一一对应;可将 forums 中的 forum_name 传给 baidu_tieba_get_forum_detail 查询贴吧详情,或传给 baidu_tieba_search_posts_in_forum 按关键词搜索吧内帖子。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"keyword": {
"description": "吧名关键词或前缀,例如 美食、旅行;不要传贴吧链接、帖子链接、ID 或分页令牌。",
"minLength": 1,
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "baidu_tieba_search_suggestions",
"outputSchema": {
"properties": {
"forums": {
"description": "相关贴吧列表,保持返回顺序;与 items 不保证一一对应,无相关贴吧时为空数组。",
"items": {
"additionalProperties": false,
"properties": {
"avatar_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "贴吧头像链接;未提供时为 null。",
"title": "Avatar Url"
},
"forum_id": {
"description": "贴吧 ID,以字符串表示。",
"pattern": "^[1-9][0-9]*$",
"title": "Forum Id",
"type": "string"
},
"forum_name": {
"description": "准确贴吧名称,可直接用于贴吧详情查询或吧内帖子关键词搜索的 forum_name。",
"minLength": 1,
"title": "Forum Name",
"type": "string"
},
"forum_url": {
"description": "贴吧主页链接,可直接打开或引用。",
"title": "Forum Url",
"type": "string"
},
"member_count": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"description": "贴吧关注人数(成员数);未提供时为 null。",
"title": "Member Count"
},
"slogan": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "贴吧标语;未提供时为 null。",
"title": "Slogan"
}
},
"required": [
"forum_id",
"forum_name",
"forum_url",
"avatar_url",
"slogan",
"member_count"
],
"title": "TiebaSuggestedForum",
"type": "object"
},
"title": "Forums",
"type": "array"
},
"items": {
"description": "吧名联想词列表,保持返回顺序;无建议时为空数组。",
"items": {
"properties": {
"text": {
"description": "吧名联想词。",
"minLength": 1,
"title": "Text",
"type": "string"
}
},
"required": [
"text"
],
"title": "TiebaSearchSuggestionItem",
"type": "object"
},
"title": "Items",
"type": "array"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
}
},
"required": [
"items",
"forums",
"points"
],
"title": "TiebaSearchSuggestionsResult",
"type": "object"
}
},
{
"description": "按关键词查找百度贴吧用户,返回精确匹配和相关用户的单页结果,不支持分页。\n\n结果中的 profile_url 可用于读取用户资料或用户发帖;已有用户主页链接时,直接使用相应的用户资料或发帖工具。",
"inputSchema": {
"additionalProperties": false,
"properties": {
"keyword": {
"description": "用户名称关键词,例如 美食、旅行;不要传用户主页链接、数字用户 ID 或分页令牌。",
"minLength": 1,
"type": "string"
}
},
"required": [
"keyword"
],
"type": "object"
},
"name": "baidu_tieba_search_users",
"outputSchema": {
"properties": {
"exact_matches": {
"description": "精确匹配用户列表;没有精确匹配时为空数组。",
"items": {
"additionalProperties": false,
"properties": {
"avatar_url": {
"description": "用户头像链接。",
"minLength": 1,
"title": "Avatar Url",
"type": "string"
},
"bio": {
"description": "用户个人简介;未提供时为空字符串。",
"title": "Bio",
"type": "string"
},
"follower_count": {
"description": "粉丝数。",
"minimum": 0,
"title": "Follower Count",
"type": "integer"
},
"name": {
"description": "用户显示名称。",
"minLength": 1,
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "用户主页链接。",
"minLength": 1,
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "用户 ID,以字符串表示。",
"pattern": "^[1-9][0-9]{0,18}$",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"follower_count"
],
"title": "TiebaUserSearchItem",
"type": "object"
},
"title": "Exact Matches",
"type": "array"
},
"points": {
"additionalProperties": false,
"description": "本次成功调用的积分消耗与账户积分余额。",
"properties": {
"balance": {
"description": "优先返回调用完成时查询到的账户积分余额。查询失败时,回退到本次预扣后的余额快照。余额可为负数。",
"type": "integer"
},
"cost": {
"description": "本次请求最终确认消耗的积分。",
"minimum": 0,
"type": "integer"
}
},
"required": [
"cost",
"balance"
],
"type": "object"
},
"related_users": {
"description": "相关用户列表,保持贴吧返回顺序;没有相关用户时为空数组。",
"items": {
"additionalProperties": false,
"properties": {
"avatar_url": {
"description": "用户头像链接。",
"minLength": 1,
"title": "Avatar Url",
"type": "string"
},
"bio": {
"description": "用户个人简介;未提供时为空字符串。",
"title": "Bio",
"type": "string"
},
"follower_count": {
"description": "粉丝数。",
"minimum": 0,
"title": "Follower Count",
"type": "integer"
},
"name": {
"description": "用户显示名称。",
"minLength": 1,
"title": "Name",
"type": "string"
},
"profile_url": {
"description": "用户主页链接。",
"minLength": 1,
"title": "Profile Url",
"type": "string"
},
"user_id": {
"description": "用户 ID,以字符串表示。",
"pattern": "^[1-9][0-9]{0,18}$",
"title": "User Id",
"type": "string"
}
},
"required": [
"user_id",
"name",
"avatar_url",
"profile_url",
"bio",
"follower_count"
],
"title": "TiebaUserSearchItem",
"type": "object"
},
"title": "Related Users",
"type": "array"
}
},
"required": [
"exact_matches",
"related_users",
"points"
],
"title": "TiebaUserSearchResult",
"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:73d4980d3226c039311d3c9da04402f4e7f9a11fa34d2fc3f94e900ee65b441d | sha256sum