search_messages
Find messages across entire iMessage history by case-insensitive text search, with options to limit results, skip matches, or narrow the search to a single conversation.
Instructions
Search message text across conversations, case-insensitively.
The entire history is searched, not a recent window, so a total of 0 means the text is genuinely not there. The total is a true count of matches; limit bounds only how many are returned.
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 matches to return (default: 20) | |
| query | Yes | Text to look for | |
| offset | No | Number of matches to skip from the start (default: 0) | |
| chat_guid | No | Restrict the search to one conversation (default: all) |