Files
WeChatDataAnalysis/skills/wechat-mcp-copilot/references/export.md
T
2977094657 e4035abf43 docs(mcp): 补充 MCP 接入说明与 Copilot Skill
在 README 中补充 MCP 服务、鉴权方式、工具分层、Skill 获取地址和手机端接入流程。

新增 wechat-mcp-copilot skill 及领域参考文档,约束外部 AI 按路由、分页和媒体 URL 规则访问微信数据。
2026-06-11 14:58:56 +08:00

1.2 KiB

Export

Use export only when the user asks for an artifact.

Chat Export

  1. Resolve target session if scope=selected.
  2. Confirm time range, format, media options, and output directory when needed.
  3. Preview targets with wechat.export.preview_chat_targets.
  4. Create job with wechat.export.create_chat_export.
  5. Poll wechat.export.get_chat_export.
  6. Return wechat.export.get_chat_export_download when ready.
  7. Use wechat.export.get_chat_export_events_url when 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.