# xhs_get_note_sub_comments_by_comment_id

根据 note_id 和一级评论 comment_id 获取二级评论；用户已提供完整合法的 ID 组合时直接使用；已有 note_id 或笔记链接但缺少必需 ID 时，调用对应一级评论工具补全；缺少笔记定位信息时向用户索取；支持 page_token 翻页。

Agent View of the PolicyLayer registry record for `xhs_get_note_sub_comments_by_comment_id`. HTML page: https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-sub-comments-by-comment-id

## Facts

- Tool: `xhs_get_note_sub_comments_by_comment_id`
- Server: SocialDataX 小红书 Xiaohongshu XHS RedNote MCP (`https://mcp.socialdatax.com/xhs/mcp`) — https://policylayer.com/tools/com-52choujiang-xhs-insights.md
- Homepage: https://github.com/https://mcp.socialdatax.com/xhs/mcp
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 3 (2 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `note_id` | string | yes | note_id 是小红书笔记 ID。已有完整 note_id 时原样使用；否则可从笔记搜索、笔记详情、评论、标签页笔记列表或用户发帖列表结果复制；不得截断、缩写、脱敏、补全、格式化、重组，也不得只传前缀。 |
| `comment_id` | string | yes | 一级评论 ID；用户已提供时直接使用，否则可从一级评论结果 items[].comment_id 复制；不要传二级评论项自身的 comment_id。 |
| `page_token` | object | no | 分页令牌。首次请求留空；继续翻页时必须将上一页返回的完整 next_page_token 原样作为 page_token 传回。page_token 是不透明分页令牌；只能用于同一 note_id 和 comment_id 的二级评论列表，不能跨笔记或一级评论复用；不得修改、截断、缩写、脱敏、掩码、省略、规范化、重组或 |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "xhs_get_note_sub_comments_by_comment_id",
    "arguments": {
      "note_id": "<note_id>",
      "comment_id": "<comment_id>"
    }
  }
}
```

## Why xhs_get_note_sub_comments_by_comment_id is rated Low

Even though xhs_get_note_sub_comments_by_comment_id only reads data, uncontrolled read access leaks sensitive information and racks up API costs: an agent caught in a retry loop can make thousands of calls a minute without anyone noticing.

## Use case

AI agents call xhs_get_note_sub_comments_by_comment_id to retrieve information from SocialDataX 小红书 Xiaohongshu XHS RedNote MCP without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches SocialDataX 小红书 Xiaohongshu XHS RedNote MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "xhs_get_note_sub_comments_by_comment_id": {}
  }
}
```

## Other tools on SocialDataX 小红书 Xiaohongshu XHS RedNote MCP (23)

- `socialdatax_get_points_balance` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/socialdatax-get-points-balance.md
- `xhs_get_note_comments_by_note_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-comments-by-note-id.md
- `xhs_get_note_comments_by_note_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-comments-by-note-url.md
- `xhs_get_note_detail_by_note_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-detail-by-note-id.md
- `xhs_get_note_detail_by_note_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-note-detail-by-note-url.md
- `xhs_get_product_detail` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-product-detail.md
- `xhs_get_product_review_replies` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-product-review-replies.md
- `xhs_get_product_reviews` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-product-reviews.md
- `xhs_get_search_hot_list` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-search-hot-list.md
- `xhs_get_topic_notes_by_page_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-topic-notes-by-page-id.md
- `xhs_get_topic_notes_by_topic_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-topic-notes-by-topic-url.md
- `xhs_get_user_info_by_profile_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-info-by-profile-url.md
- `xhs_get_user_info_by_user_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-info-by-user-id.md
- `xhs_get_user_posted_notes_by_profile_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-posted-notes-by-profile-url.md
- `xhs_get_user_posted_notes_by_user_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-user-posted-notes-by-user-id.md
- `xhs_get_video_speech_text_job` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-get-video-speech-text-job.md
- `xhs_pgy_get_note_detail_by_note_id` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-pgy-get-note-detail-by-note-id.md
- `xhs_pgy_get_note_detail_by_note_url` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-pgy-get-note-detail-by-note-url.md
- `xhs_search_notes` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-search-notes.md
- `xhs_search_products` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-search-products.md
- `xhs_search_suggestions` — Read — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-search-suggestions.md
- `xhs_submit_video_speech_text_by_note_id` — Write — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-submit-video-speech-text-by-note-id.md
- `xhs_submit_video_speech_text_by_note_url` — Write — https://policylayer.com/tools/com-52choujiang-xhs-insights/xhs-submit-video-speech-text-by-note-url.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=com-52choujiang-xhs-insights · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/com-52choujiang-xhs-insights
