wechat_export_media
Export media attachments from permitted WeChat chats by message ID. Converts protected .dat files into standard image, voice, and document formats for offline access.
Instructions
Safely export local WeChat media attachments from allowed chats (automatically decoding .dat XOR / V1-V2 AES+XOR images to .jpg/.png, voice .silk/.aud, documents .pdf/.xlsx) by msg_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": {
"msg_ids": "<msg_ids>"
},
"name": "wechat_export_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Force immediate SQLCipher decryption and SQLite snapshot refresh. | |
| msg_ids | Yes | List of target message msg_ids to export. |