weixin_send
Send a plain text message to a Weixin user via the ilink bot API, defaulting to the last inbound peer and attaching a cached context token when available.
Instructions
Send a text message to a Weixin user via ilink/bot/sendmessage. Defaults to the last inbound peer. A cached context_token is attached when available.
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": {
"text": "<text>"
},
"name": "weixin_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient id, usually from an inbound From field (id@im.wechat). | |
| text | Yes | Plain text to send. | |
| context_token | No | Override the cached context_token. |