Search WhatsApp
whatsapp_searchSearch WhatsApp message text and captions across chats, newest first. Limit results to a specific chat or person; read-only.
Instructions
Search WhatsApp message text and captions across chats, newest first. Optionally limit to one chat, or to one person by name (their messages in groups and the one-to-one chat with them). Read-only. Use when: finding what someone said on WhatsApp
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return | |
| query | Yes | Text to find (case-insensitive for plain letters) | |
| since | No | Only messages since this ISO 8601 date | |
| offset | No | Number of results to skip for pagination | |
| chat_id | No | Only this chat (chatId from whatsapp_list_chats) | |
| contact | No | Only messages from or with people whose name contains this | |
| chat_name | No | Only the chat with this name; must match one chat | |
| response_format | No | Output format: 'json' for structured data, 'markdown' for human-readable text | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| items | Yes | ||
| total | Yes | ||
| offset | Yes | ||
| has_more | Yes | ||
| next_offset | No | ||
| truncation_message | No |