upload_temp_media
Upload image, voice, video, or thumbnail files as temporary media for WeChat Official Account drafts and publishing.
Instructions
上传图片、语音、视频或缩略图临时素材。
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": {
"file_path": "<file_path>",
"media_type": "<media_type>"
},
"name": "upload_temp_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| media_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||