Get a chat
Read one chat: every message, the client details and the chat topic.
MCP tool jivochat_read → get_chat
read
get_chat returns the whole conversation in the order it happened, each message with who wrote it (client, agent or bot), the text and the time. It also returns the client card the app shows next to the chat and the chat topic, if an agent set one. Files and photos come back as links, not as content.
Parameters
| Name | Type | Description |
|---|---|---|
| chat_id string required | string | Chat ID from list_chats. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "jivochat_read",
"arguments": {
"operation": "get_chat",
"arguments": {
"chat_id": "chat_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"chat_id": "6f1a2b3c",
"channel": "Live Chat",
"client": {
"client_id": "cl_3a91",
"name": "Dana Whitfield",
"email": "dana@example.com"
},
"topic": null,
"messages": [
{
"from": "client",
"text": "Is the 12-inch model in stock?",
"sent_at": "2026-10-19T09:41:00Z"
},
{
"from": "bot",
"text": "One moment, I am looking for an agent.",
"sent_at": "2026-10-19T09:41:04Z"
}
]
},
"isError": false
}