weixin_poll
Polls Weixin for new inbound messages in one long-poll cycle, caching the context token for follow-up replies. Requires prior CLI login; empty results are normal when no messages arrive.
Instructions
One getUpdates long-poll cycle (default ~35s). Returns new inbound Weixin messages and caches context_token. Empty result is normal when nobody wrote. Requires a prior CLI login.
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": "weixin_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | Client long-poll timeout in ms (default 35000). | |
| resetCursor | No | If true, send an empty get_updates_buf. |