Skip to content

xhs_download_images

下载笔记中的所有图片。

参数

参数类型必填说明
noteIdstring笔记 ID
xsecTokenstring安全令牌
accountstring使用的账号

返回值

json
{
  "success": true,
  "noteId": "xxx",
  "images": [
    "/Users/xxx/.xhs-mcp/downloads/images/xxx/1.jpg",
    "/Users/xxx/.xhs-mcp/downloads/images/xxx/2.jpg"
  ],
  "count": 2
}

示例

xhs_download_images({
  noteId: "abc123",
  xsecToken: "token"
})

存储位置

图片保存在:

~/.xhs-mcp/downloads/images/{noteId}/

Released under the MIT License.