xiaohongshu_comments
Retrieve first-screen comments (about 10-20) from a Xiaohongshu note using note_id and xsec_token from search results. Requires local Chrome with XHS login cookie.
Instructions
获取小红书笔记的评论(首屏,约 10-20 条)。
需要本地 Chrome + XHS 登录 cookie。 note_id 和 xsec_token 都来自同一条 xiaohongshu_search 结果。
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": {
"note_id": "<note_id>",
"xsec_token": "<xsec_token>"
},
"name": "xiaohongshu_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes | 笔记 ID(16 位十六进制字符串) | |
| xsec_token | Yes | 同一搜索结果中的访问令牌(必填) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||