get_conversation_messages
Retrieve messages from a specific iMessage conversation using chat ID or contact details, with enriched sender information and pagination controls.
Instructions
Get messages from a specific conversation.
You can specify the conversation by either chat_id or contact identifier. If contact is provided, it will be normalized and used to find the chat. Messages are enriched with contact names for senders.
Args: chat_id: Database row ID of the chat (from list_conversations) contact: Phone number or email to find the conversation limit: Maximum number of messages to return (default: 50) offset: Number of messages to skip (default: 0)
Returns: Dictionary with messages list, conversation info, and pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | ||
| contact | No | ||
| limit | No | ||
| offset | No |