download_temp_media
Downloads temporary media from WeChat and saves the binary file to a local path, ensuring existing files are never overwritten.
Instructions
获取临时素材;二进制响应写入本机 save_path 且不覆盖。
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": {
"media_id": "<media_id>",
"save_path": "<save_path>"
},
"name": "download_temp_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | ||
| save_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||