xhs_search
Search RedNote or Xiaohongshu by query, return the first N results in page order, and keep signed links with a search ID valid for one hour.
Instructions
在指定站点通过网页搜索栏搜索,按网页顺序列出前 N 条,保留签名链接;search_id 有效 1 小时。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "xhs_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | 站点:rednote 海外版、xiaohongshu 国内版;auto 优先已登录的海外版,也可通过 XHS_MCP_SITE 固定默认站点。 | |
| limit | No | ||
| query | Yes |