ghl_conversation_get_messages
Retrieve messages from a specific conversation by ID, with optional message-type filtering and pagination to page through complete history.
Instructions
Get messages by conversation id Get messages by conversation id. Endpoint: GET /conversations/{conversationId}/messages (Version header: v3; source: v3/conversations-v3.json) OAuth scopes: conversations/message.readonly Pagination params: lastMessageId, limit — pass them to page through full result sets.
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": {
"conversationId": "<conversationId>"
},
"name": "ghl_conversation_get_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Types of message to fetched separated with comma | |
| limit | No | Number of messages to be fetched from the conversation. Default limit is 20 | |
| lastMessageId | No | Message ID of the last message in the list as a string | |
| conversationId | Yes | Conversation ID as string |