Search Messages
search_messagesSearches iMessage conversations by content, sender name, or date range.
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 |
|---|---|---|---|
| limit | No | Max results (default 30) | |
| query | No | Text to search for in message content (optional if from_sender is set) | |
| since | No | ISO8601 date — only return messages on or after this date (optional, e.g. '2026-04-10' or '2026-04-10T00:00:00Z') | |
| until | No | ISO8601 date or datetime — only return messages on or before it (optional). Inclusive when only a date is given: 2026-10-02 returns the messages of October 2 too (the day is counted in UTC, like the dates returned). With a time, the range ends at that instant. Combine with 'since' to search a date range with no text query. | |
| from_sender | No | Substring of sender name/handle to filter by — only messages THEY sent; 'me' for your own (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| query | No | ||
| since | No | ||
| until | No | ||
| results | No | ||
| from_sender | No |