upload_cover_image
Upload an image to set as the article cover or thumbnail, and receive a media_id for use in WeChat article drafts.
Instructions
Upload an image for use as article COVER/THUMBNAIL (returns media_id).
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": {
"filePath": "<filePath>"
},
"name": "upload_cover_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the image file |