search_messages
Search messages containing specific text in WhatsApp chats, optionally within a specific chat, with configurable result limit.
Instructions
Search messages by text, optionally within a specific chat.
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 |
|---|---|---|---|
| query | Yes | Text to search for | |
| chat_id | No | Optional chat JID to scope search | |
| limit | No | Maximum number of results |