上传正文图片
wechat_upload_article_imageUpload jpg or png images (≤1MB) from a local path, URL, or base64 data for use inside WeChat article bodies. Returns an image URL ready for tags without consuming material library quota.
Instructions
上传文章正文内使用的图片(仅 jpg/png,≤1MB),返回可直接写入 的微信图片 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": {
"source": "<source>"
},
"name": "wechat_upload_article_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | 图片来源:本地文件路径(相对路径基于 MCP 服务的工作目录)、file:// 、http(s):// 链接,或 data:image/...;base64 URI |