Read Messages
read_messagesReads messages from an iMessage conversation by chat ID or contact name. An attachment shows as [attachment: ()] where it sits in the text, and attachments lists each file's filename and mime type.
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 | Max messages (default 50) | |
| chat_id | No | Chat identifier. Call list_message_chats first and pass the chat_id it returns, or pass contact_name. | |
| contact_name | No | Contact name substring (alternative to chat_id) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| count | No | ||
| chat_id | No | ||
| messages | No |