get_chat_messages
Retrieve messages from a specific iMessage chat with options for limit, offset, sorting, and time range filters.
Instructions
Get messages from a specific chat.
Args: chat_guid: The chat GUID. limit: Max messages to return (default 25). offset: Pagination offset. sort: 'ASC' or 'DESC' (default DESC = newest first). after: Only messages after this epoch-ms timestamp. before: Only messages before this epoch-ms timestamp.
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_guid": "<chat_guid>"
},
"name": "get_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_guid | Yes | ||
| limit | No | ||
| offset | No | ||
| sort | No | DESC | |
| after | No | ||
| before | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |