xhs_favorite_feed
Favorite or unfavorite Xiaohongshu notes using note ID and access token; automatically skips if the note already has the desired status.
Instructions
为笔记收藏或取消收藏:智能检测当前状态,已处于目标状态时自动跳过。需要笔记 ID 与 xsecToken。
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": {
"feedId": "<feedId>",
"xsecToken": "<xsecToken>"
},
"name": "xhs_favorite_feed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feedId | Yes | 笔记 ID | |
| xsecToken | Yes | 访问令牌 | |
| unfavorite | No | true 为取消收藏,默认 false(收藏) |