whatsapp_search_messages
Search keywords across allowed WhatsApp group chats to find matching messages with surrounding context, filterable by time window and chat.
Instructions
Search keyword across allowed WhatsApp group chats and return matching messages with surrounding context messages.
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 |
|---|---|---|---|
| limit | No | ||
| query | Yes | Keyword to search in message text and attachment titles. | |
| since | No | Optional time window filter (e.g. '30d', '7d'). | |
| format | No | markdown | |
| context | No | Number of before/after context messages per match (default 3). | |
| chat_ids | No | Optional list of group chat_ids (@g.us) or ['ALL_ALLOWED']. |