Get messages by conversation id
conversations_get_messagesFetch all messages for a conversation by ID. Filter by message type and control page size to review communication history.
Instructions
Get messages by conversation id . [GET /conversations/{conversationId}/messages] Scopes: conversations/message.readonly.
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": "conversations_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 |