get_recent_messages
Incrementally read new messages from the WeChat listening buffer. Pass the previous next_seq as after_seq to get only new messages, optionally filtering by chat_name.
Instructions
增量读取监听缓冲区中新增的消息。传入上次返回的 next_seq 作为 after_seq,即可只获取新消息。可选用 chat_name 限定单个会话。
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": "get_recent_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| after_seq | No | ||
| chat_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||