Search WhatsApp messages
whatsapp_search_messagesSearch WhatsApp messages across recent chats using full-text queries, scoped to a configurable time window (default: last 2 days) to find relevant conversations.
Instructions
Full-text search across recent chats, scoped to a time window (default last 2 days). History is fetched on demand.
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": {
"query": "<query>"
},
"name": "whatsapp_search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Search only the last N days (default 2) | |
| limit | No | Max results (default 20) | |
| query | Yes | Text to search for | |
| max_chats | No | Max chats to scan (default 100) |