Read a WeChat article
yuanbao_read_weixin_articleRead a WeChat official-account article from an mp.weixin.qq.com URL and return its full text, title, account, publish time, Markdown body, character counts, truncation status, and image URLs.
Instructions
Read a WeChat official-account article and return its full text.
Args: url: An http(s) URL on mp.weixin.qq.com. max_chars: Maximum characters to return, 1,000-100,000. Defaults to the server-configured limit.
Returns: Title, account, publish time, lightweight Markdown body, character counts, truncation flag, and up to 50 content image URLs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "yuanbao_read_weixin_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| title | Yes | ||
| images | No | ||
| account | No | ||
| content | Yes | ||
| truncated | Yes | ||
| char_count | Yes | ||
| image_count | No | ||
| publish_time | No | ||
| original_chars | Yes |