search_messages
Search message content to find relevant iMessage and SMS conversations. Filter by chat ID and limit results for targeted retrieval.
Instructions
Search messages by text content
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 |
|---|---|---|---|
| limit | No | Maximum number of results (default 50) | |
| query | Yes | Text to search for in messages | |
| chat_id | No | Limit search to a specific chat |