wechat_get_recent_sessions
Get recent WeChat conversations with names, last messages, and timestamps, filtered by Today, Yesterday, Week, Month, or Year and optionally restricted to chats with messages.
Instructions
获取会话列表中的最近会话(名称、最后一条消息与时间)。
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_get_recent_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recent | No | Today | Yesterday | Week | Month | Year,也支持“今天”“本周”等中文 | Today |
| chat_only | No | 是否只返回有消息的会话 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |