From 3b6d211d093c3ddf37d7cbeac409c595b9faf41a Mon Sep 17 00:00:00 2001 From: chekayo <9827969+chekayo@user.noreply.gitee.com> Date: Sun, 7 Dec 2025 14:50:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A5=E5=85=85=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mcp_server.go | 4 ++-- types.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mcp_server.go b/mcp_server.go index 8c35e7a..9353bcf 100644 --- a/mcp_server.go +++ b/mcp_server.go @@ -47,10 +47,10 @@ type FilterOption struct { type FeedDetailArgs struct { FeedID string `json:"feed_id" jsonschema:"小红书笔记ID,从Feed列表获取"` XsecToken string `json:"xsec_token" jsonschema:"访问令牌,从Feed列表的xsecToken字段获取"` - LoadAllComments bool `json:"load_all_comments,omitempty" jsonschema:"是否加载全部评论(默认false,仅返回首批评论)"` + LoadAllComments bool `json:"load_all_comments,omitempty" jsonschema:"是否加载全部评论(默认false,仅返回首批一级评论)"` ClickMoreReplies bool `json:"click_more_replies,omitempty" jsonschema:"是否点击'更多回复'按钮 (默认: false)"` MaxRepliesThreshold int `json:"max_replies_threshold,omitempty" jsonschema:"回复数量阈值,超过此数量的'更多'按钮将被跳过 (0表示不跳过任何, 默认: 10)"` - MaxCommentItems int `json:"max_comment_items,omitempty" jsonschema:"最大加载评论数(0表示加载所有, 默认: 0)"` + MaxCommentItems int `json:"max_comment_items,omitempty" jsonschema:"最大加载一级评论数(0表示加载所有一级评论, 默认: 0)"` ScrollSpeed string `json:"scroll_speed,omitempty" jsonschema:"滚动速度: 'slow'|'normal'|'fast' (默认: 'normal')"` } diff --git a/types.go b/types.go index c607ada..f729bf7 100644 --- a/types.go +++ b/types.go @@ -40,7 +40,7 @@ type CommentLoadConfig struct { ClickMoreReplies bool `json:"click_more_replies,omitempty"` // 回复数量阈值,超过这个数量的"更多"按钮将被跳过(0表示不跳过任何) MaxRepliesThreshold int `json:"max_replies_threshold,omitempty"` - // 最大加载评论数(comment-item数量),0表示加载所有 + // 最大加载评论数(.parent-comment数量),0表示加载所有 MaxCommentItems int `json:"max_comment_items,omitempty"` // 滚动速度等级: slow(慢速), normal(正常), fast(快速) ScrollSpeed string `json:"scroll_speed,omitempty"`