xhs_search_suggestions
根据搜索词获取小红书候选搜索建议,用于补全搜索词;需要实际搜索笔记或商品时,分别使用 xhs_search_notes 或 xhs_search_products。
This record as markdown: /tools/com-52choujiang-xhs-insights/xhs-search-suggestions.md
What xhs_search_suggestions does on SocialDataX 小红书 Xiaohongshu XHS RedNote MCP
AI agents call xhs_search_suggestions 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 |
|---|---|---|---|
keyword | string | Yes | 搜索词,可传正在输入的关键词或短语;不要传笔记链接、主页链接、note_id、user_id 或分页令牌。 |
Parameters from the server's own tool schema.
Why xhs_search_suggestions is rated Low
Even though xhs_search_suggestions 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.
Attacks that exploit this kind of access
The rule that runs xhs_search_suggestions 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_search_suggestions, this is the rule to start with:
xhs_search_suggestions 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_search_suggestions call is checked against it from then on.
Questions about xhs_search_suggestions
根据搜索词获取小红书候选搜索建议,用于补全搜索词;需要实际搜索笔记或商品时,分别使用 xhs_search_notes 或 xhs_search_products。. 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_search_suggestions accepts 1 parameter: keyword. Required: keyword. 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_search_suggestions: 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_search_suggestions 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_search_suggestions 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_search_suggestions. 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_search_suggestions 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