conversations_get_messages
Retrieve messages from a specific conversation by ID, using optional filters for type, count, and last message ID to control the result set.
Instructions
Get messages by conversation id
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 |