Skip to main content

Get Conversation

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

GETghl.get_conversation

Get detailed conversation information including message history

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-get-conversation-example",
"method": "tools/call",
"params": {
"name": "ghl.get_conversation",
"arguments": {
"conversationId": "conversationId_123",
"tenantId": "tenantId_123",
"limit": 1,
"messageTypes": []
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"conversationId": {
"type": "string"
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 100
},
"messageTypes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"TYPE_SMS",
"TYPE_EMAIL",
"TYPE_CALL",
"TYPE_FACEBOOK",
"TYPE_INSTAGRAM",
"TYPE_WHATSAPP",
"TYPE_LIVE_CHAT"
]
}
}
},
"required": [
"conversationId"
]
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-get-conversation-example",
"method": "tools/call",
"params": {
"name": "ghl.get_conversation",
"arguments": {
"conversationId": "conversationId_123",
"tenantId": "tenantId_123",
"limit": 1,
"messageTypes": []
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.get_conversation executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}