Read iMessage messages
read_messagesRetrieve iMessage history newest-first with optional filters for chat, contact, and date range, returning timestamps, senders, text, and attachment counts; tapbacks and group events are excluded.
Instructions
Read messages newest-first, optionally filtered by chat id, contact (name, phone or email) and date range. Returns timestamp, sender (me or handle), sender_name from Contacts for incoming messages, text, is_from_me and attachment count. Tapbacks and group events are excluded.
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": "read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (1-500, default 50). | |
| since | No | ISO 8601 date or datetime, e.g. 2025-01-31 or 2025-01-31T09:00:00Z. | |
| until | No | ISO 8601 date or datetime, e.g. 2025-01-31 or 2025-01-31T09:00:00Z. | |
| offset | No | Number of messages to skip (pagination). | |
| chat_id | No | Chat id as returned by list_chats. | |
| contact | No | Contact name, phone number, email or handle id substring (e.g. 'Alice', '(415) 555-1234', 'alice@', '+1555'). Names are resolved from macOS Contacts. Matches messages from matching handles, and your replies in chats that include them. |