How do I prepare official-account data for Coze?
How do I prepare official-account data for Coze? Follow concrete contracts, examples and reviewable steps using WeChat Official Accounts.
Copy the agent prompt manually
Answer
Start by inspecting the contracts and local samples for WeChat Official Account article detail. Establish the input for wechat_mp.articles.get, then check whether its post object contains the fields your task needs.
First validate discovery, description and calls through the local CLI or stdio MCP, then verify that the target client supports the same transport. Cloud clients cannot directly access this computer’s 127.0.0.1 address; a local HTTP endpoint is not a public MCP service.
Relevant contracts
| Capability | Object | Shape | Pagination |
|---|---|---|---|
| wechat_mp.articles.get | Post | item | No cursor |
Input contract
Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.
- Only send fields defined for this method; unknown fields are rejected before execution.
| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |
|---|---|---|---|---|---|---|
| GET | url | string | Required | 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 | Optional / conditional | 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 | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |
Complete one verification
Run one local fixture for a listed capability and inspect the object structure. Then filter, classify or export according to the question. A local sample cannot replace evidence for a real-platform conclusion.
{
"capability": "wechat_mp.articles.get",
"method": "GET",
"params": {
"url": "https://mp.weixin.qq.com/s?__biz=MjM5MjAxNDM4MA==&mid=2667038683&idx=1&sn=0422127e651acd7f6cf6ef7e1cff04bc"
}
}Clear inputs. Inspectable output.
Each click runs a local fixture. Advanced JSON inputs are checked against the selected method. Editing does not execute a request.
Copying does not execute. CLI quote is read-only and needs a local customer TEST key. Configure MCP in demo mode first. GET and POST batches both return only fictional local fixtures.
Download contract example (no execution) ↗For TEST budgets, Key scopes or failure scenarios, open the account console. Customer sandbox ↗