Search messages
search_messagesSearches this user's Widely, SMS, and WhatsApp threads by keyword and date. Returns message text with sender, thread, and source (sms, whatsapp, email, app, or mcp). Support and assistant threads are excluded. Pass source to keep one of those.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look back this many days (default 30). | |
| limit | No | Max rows to return. | |
| query | No | Keyword to match in message text. | |
| source | No | ||
| conversation_id | No |