Receive WeChat messages
wechat_receiveLong-poll for new inbound WeChat messages, returning only new ones per account. Automatically downloads and decrypts attached media.
Instructions
Poll for new inbound WeChat messages (one long-poll cycle). Returns messages received since the last poll; the server tracks a per-account sync cursor so repeated calls do not return duplicates. Media (images/voice/files/video) is downloaded and decrypted to local temp files by default, with the path returned in MediaPath. If multiple accounts are logged in, pass accountId.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wechat_receive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Account id to poll; required only when multiple accounts are logged in. | |
| timeoutMs | No | Long-poll timeout in ms (default 35000). The server holds the request open up to this long waiting for new messages. | |
| downloadMedia | No | Download + decrypt inbound media to temp files (default true). |