xhs_get_note_detail_by_note_url
根据笔记链接、短链接或分享文案获取单篇小红书笔记详情。 返回的 note_url 在任何使用场景都必须原样保留完整 URL,包括 xsec_token 等 query 参数;例如最终回答、展示、引用、存储、输出或传递;不得用 note_id 重新拼接链接;note_url 为 null 时不要用 note_id 合成公开链接。
This record as markdown: /tools/com-52choujiang-xhs-insights/xhs-get-note-detail-by-note-url.md
What xhs_get_note_detail_by_note_url does on SocialDataX 小红书 Xiaohongshu XHS RedNote MCP
AI agents call xhs_get_note_detail_by_note_url 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
note_url | string | Yes | 小红书笔记链接、短链接或分享文案。支持以下形式:1) 小红书笔记长链接;2) xhslink.com / xhslink.cn / xhsurl.com / xhsurl.cn 短链接;3) 包含上述任一链接的完整分享文案。 |
Parameters from the server's own tool schema.
Why xhs_get_note_detail_by_note_url is rated Low
This tool queries and fetches information about a single Xiaohongshu note based on provided URLs or share text. It performs no creation, modification, deletion, or execution of external operations. The emphasis on preserving returned URLs intact confirms this is a retrieval operation with no destructive or write capabilities.
From the tool's definition Tool retrieves note details ('获取单篇小红书笔记详情') from a note URL; returns data without modification or side effects. The instruction about preserving URLs indicates read-only data retrieval.
Attacks that exploit this kind of access
The rule that runs xhs_get_note_detail_by_note_url safely
PolicyLayer is an MCP gateway: it sits between your AI agents and SocialDataX 小红书 Xiaohongshu XHS RedNote MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For xhs_get_note_detail_by_note_url, this is the rule to start with:
xhs_get_note_detail_by_note_url is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect SocialDataX 小红书 Xiaohongshu XHS RedNote MCP, apply this rule, and every xhs_get_note_detail_by_note_url call is checked against it from then on.
Questions about xhs_get_note_detail_by_note_url
根据笔记链接、短链接或分享文案获取单篇小红书笔记详情。 返回的 note_url 在任何使用场景都必须原样保留完整 URL,包括 xsec_token 等 query 参数;例如最终回答、展示、引用、存储、输出或传递;不得用 note_id 重新拼接链接;note_url 为 null 时不要用 note_id 合成公开链接。. It is categorised as a Read tool in the SocialDataX 小红书 Xiaohongshu XHS RedNote MCP MCP Server, which means it retrieves data without modifying state.
xhs_get_note_detail_by_note_url accepts 1 parameter: note_url. Required: note_url. The full parameter table on this page comes from the server's own tool schema.
Register the SocialDataX 小红书 Xiaohongshu XHS RedNote MCP server in PolicyLayer and add a rule for xhs_get_note_detail_by_note_url: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches SocialDataX 小红书 Xiaohongshu XHS RedNote MCP. Nothing to install.
xhs_get_note_detail_by_note_url is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the xhs_get_note_detail_by_note_url rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for xhs_get_note_detail_by_note_url. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
xhs_get_note_detail_by_note_url is provided by the SocialDataX 小红书 Xiaohongshu XHS RedNote MCP server (https://mcp.socialdatax.com/xhs/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on SocialDataX 小红书 Xiaohongshu XHS RedNote, and thousands of servers like it.
Across the catalogue