获取私信中分享的笔记
get_chat_notesExtract shared notes from a Xiaohongshu direct-message conversation by chat ID. It scrolls through message history and returns note titles, authors, IDs, tokens, and share times for detail lookup.
Instructions
打开指定私信会话,自动向上滚动加载历史消息,提取所有分享的笔记(标题、作者、note_id、xsec_token、分享时间、是好友发还是我发的)。返回结果可直接传给 get_note_detail 读正文(token 配 xsec_source=app_share)。
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": {
"chat_id": "<chat_id>"
},
"name": "get_chat_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最多返回分享笔记数,默认 20 | |
| chat_id | Yes | 会话 ID(来自 list_chats 结果的 chat_id,即 /chat/ 后的部分) |