# 公众号数据如何接入 Coze 工作流？

公众号数据如何接入 Coze 工作流？结合微信公众号的接口合同、示例和可复核步骤，在本地验证输入与结果；真实调用保持关闭。

规范页面: https://datanavoapi.com/answers/wechat-official-account-coze/

当前为本地模拟模式；样本由程序生成，不代表平台实时数据，也不证明真实供应商的可用性。

## 直接回答

这个问题可从微信公众号文章详情的合同和本地样本开始核对。先明确 wechat_mp.articles.get 的输入，再检查 post 对象是否提供任务所需字段。

先用本地 CLI 或 stdio MCP 验证发现、描述和调用，再核对目标客户端是否支持相同传输。云端客户端无法直接访问电脑上的 127.0.0.1；本地 HTTP 地址不表示已经提供公网 MCP 服务。

## 对应接口与字段

| 能力 | 对象 | 返回形状 | 分页 |

| --- | --- | --- | --- |

| wechat_mp.articles.get | 内容 | item | 无游标 |

- [微信公众号文章详情](https://datanavoapi.com/apis/wechat_mp/articles/get/)

## 输入合同

按所选方法查看参数含义、示例和条件规则；view 与 fields 控制返回内容，不改变 TEST 单价。

- 只传本方法定义的参数；未知字段在执行前拒绝。

| 方法 | 字段 | 类型 | 要求 | 含义 | 枚举或边界 | 示例 |

| --- | --- | --- | --- | --- | --- | --- |

| GET | url | string | 必填 | Link to the article, pasted as it is: the long link with __biz, mid, idx and sn, the short /s/ link, or a share text with one of them in it | — | "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc" |

| GET | view | string | 可选/条件 | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |

| GET | fields | array | 可选/条件 | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |

## 怎样完成一次核验

先用页面列出的能力运行一条本地演示，核对对象结构；再按问题定义筛选、分类或导出。若需要真实平台结论，本地样本不能替代相应证据。

```json
{
  "capability": "wechat_mp.articles.get",
  "method": "GET",
  "params": {
    "url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"
  }
}
```

## 相关页面

- [微信公众号文章详情](https://datanavoapi.com/apis/wechat_mp/articles/get/)
- [微信公众号接口](https://datanavoapi.com/apis/wechat_mp/)
- [微信公众号 MCP](https://datanavoapi.com/mcp/wechat_mp/)
- [内容字段](https://datanavoapi.com/docs/objects/post/)
- [核对公众号文章阅读与互动指标](https://datanavoapi.com/guides/wechat-article-reads-and-likes/)
- [用 Python 读取公众号文章](https://datanavoapi.com/guides/wechat-official-account-api-python/)
- [从账号清单整理公众号文章](https://datanavoapi.com/guides/wechat-official-account-articles/)
- [按关键词整理微信搜索文章](https://datanavoapi.com/guides/wechat-search-posts/)

[English](https://datanavoapi.com/en/answers/wechat-official-account-coze/)
