search
Find local WeChat messages by keyword, with optional filters for chat, sender, message type, and time range. Returns matching snippets and metadata.
Instructions
Search local messages with optional chat, sender, type, and half-open time range.
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": {
"keyword": "<keyword>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | No | ||
| after | No | ||
| limit | No | ||
| before | No | ||
| offset | No | ||
| sender | No | ||
| talker | No | ||
| keyword | Yes | ||
| message_type | No | ||
| snippet_only | No | ||
| max_text_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||