client_searchMessages
Search WhatsApp messages within a session using a query string and pagination options. Retrieve matching messages to find specific content.
Instructions
[Client] Search for 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": {
"sessionId": "<sessionId>"
},
"name": "client_searchMessages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Search string | |
| options | No | Search options | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |