wechat_upload_cover
Uploads a local cover image (PNG/JPEG/GIF/WebP) as permanent WeChat image material and returns the mediaId needed for a draft's thumbMediaId.
Instructions
上传本地封面为永久图片素材,支持 PNG/JPEG/GIF/WebP,返回可用于草稿 thumbMediaId 的 mediaId
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_cover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | Yes | WECHAT_COVER_DIR 内图片路径,最大 1 MB;正文图片仅支持 JPG/PNG |