Get Message Chat
messages_get_chatReads a Messages chat oldest-first with tapbacks folded into reacted messages, returning the newest messages and supporting paging back through conversation history.
Instructions
Messages in one chat, oldest first, with tapbacks folded into the message they react to. Returns the newest limit messages; page back with before_id = next_before_id. Use when: reading a conversation
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "messages_get_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only messages after this ISO 8601 date | |
| limit | No | Max messages to return | |
| before | No | Only messages before this ISO 8601 date | |
| chat_id | No | chatId from messages_list_chats | |
| before_id | No | Only messages older than this message id (next_before_id from the previous page) | |
| chat_identifier | No | Phone, email or group id from messages_list_chats | |
| response_format | No | Output format: 'json' for structured data, 'markdown' for human-readable text | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| count | Yes | ||
| has_more | Yes | ||
| messages | Yes | ||
| next_before_id | No |