get_messages
Retrieve chronologically ordered messages from a specific chat with metadata, supporting filtering by limit and timestamp range.
Instructions
Get chronologically orderedmessages from a specific chat with metadata and optional filtering.
Args:
chat_id: ID of the chat/conversation
limit: Maximum number of messages to return (default 50)
before: Optional ISO-8601 timestamp to get messages before this date
after: Optional ISO-8601 timestamp to get messages after this date
Returns:
List of Message objects with metadata including platform, sender names, timestamps, reactions etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| before | No | ||
| chat_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |