Search messages
search_messagesSearch a WhatsApp chat export for messages containing a specific word or phrase, ignoring case and accents, and optionally filter results by sender.
Instructions
Find messages containing a word or phrase (case and accents ignored), optionally from one sender.
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": {
"path": "<path>",
"query": "<query>"
},
"name": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the WhatsApp export: the .zip from Export chat, or the .txt | |
| limit | No | Default 50 | |
| query | Yes | ||
| sender | No | ||
| date_order | No | Date order of the export. Leave as auto unless open_export reported a guess that looks wrong |