read_messages
Retrieve past messages from a GroupMe group or direct chat, ordered oldest first, with sender names and attachment details. Page through history using message IDs to get older or newer messages.
Instructions
Read messages from one GroupMe conversation, oldest first.
Use this to read or page through the history of a specific group or
direct-message chat once you know its id (from list_conversations).
Sender names are resolved and attachments are normalized (image URLs,
reply/mention summaries). An empty page is a normal answer, not an
error: it means the conversation has no messages in the requested range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum messages to return (1-100). Direct chats may return fewer per page regardless of ``limit``. | |
| since_id | No | Read the most recent messages newer than this message id. | |
| before_id | No | Read messages older than this message id (use the previous page's ``next_before_id``). At most one of ``before_id`` and ``since_id`` may be given. | |
| conversation | Yes | Which conversation to read: ``{"kind": "group", "group_id": ...}`` or ``{"kind": "direct", "other_user_id": ...}``. | |
| response_format | No | ``"concise"`` (default) for sender names, text, relative ages, and like counts; ``"detailed"`` adds sender ids, conversation ids, and ISO timestamps. | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| messages | Yes | ||
| next_before_id | No |