get_conversation_by_chat_id
Retrieve a complete iMessage conversation by chat ID as structured JSON. Filter by message count or recent hours to get only the messages you need.
Instructions
Get a conversation by iMessage chat_id as structured JSON. Use chat_id from list_chats_structured or find_outreach_followups.
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": {
"chat_id": "<chat_id>"
},
"name": "get_conversation_by_chat_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of messages to retrieve (default: 100) | |
| chat_id | Yes | The iMessage chat ROWID. | |
| hours_ago | No | Optional: Only show messages from the last N hours. |