mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-06-18 15:54:08 +08:00
e4035abf43
在 README 中补充 MCP 服务、鉴权方式、工具分层、Skill 获取地址和手机端接入流程。 新增 wechat-mcp-copilot skill 及领域参考文档,约束外部 AI 按路由、分页和媒体 URL 规则访问微信数据。
1.2 KiB
1.2 KiB
Export
Use export only when the user asks for an artifact.
Chat Export
- Resolve target session if
scope=selected. - Confirm time range, format, media options, and output directory when needed.
- Preview targets with
wechat.export.preview_chat_targets. - Create job with
wechat.export.create_chat_export. - Poll
wechat.export.get_chat_export. - Return
wechat.export.get_chat_export_downloadwhen ready. - Use
wechat.export.get_chat_export_events_urlwhen the client can consume SSE progress.
Moments Export
Use wechat.export.create_moments_export, wechat.export.get_moments_export, wechat.export.get_moments_export_download, and wechat.export.get_moments_export_events_url.
Account Archive
Use wechat.export.create_account_archive, wechat.export.get_account_archive, wechat.export.get_account_archive_download, and wechat.export.cancel_account_archive.
Contacts Export
Use wechat.contacts.export_contacts only when the user asks for a contacts file. It writes JSON or CSV to a local output directory.
Do not silently export all history and all media unless the user explicitly asked for that scope.
For phone clients, prefer wechat.mobile.export_job unless exact low-level export options are required.