wechat_upload_article_image
Upload local JPG or PNG article images to WeChat and receive a URL ready for use in HTML img src tags. This solves inline image hosting for WeChat article publishing.
Instructions
上传本地 JPG/PNG 正文图片,返回可插入 HTML img src 的微信 URL
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": {
"imagePath": "<imagePath>"
},
"name": "wechat_upload_article_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | Yes | WECHAT_COVER_DIR 内图片路径,最大 1 MB;正文图片仅支持 JPG/PNG |