search_messages
Search cached WhatsApp messages by case-insensitive substring. Set time range, exclude groups, and limit results to pinpoint relevant conversations.
Instructions
Case-insensitive substring search across cached messages. Looks back hours hours (default 720 = 30 days). Returns chat and from as human-friendly names. NEVER show raw chat IDs or message IDs to the user.
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": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| limit | No | ||
| query | Yes | ||
| excludeGroups | No |