List chats
List chats from the Contact Center: Inbox, My dialogs, Archives or All, with an optional search.
MCP tool jivochat_read → list_chats
read
list_chats returns one page of chats with the client name, the channel, the start time and a preview of the last message. The inbox tab shows chats no agent has accepted yet. Finished chats in archives also carry their duration. The cursor continues the same tab and search. What you see follows your role and the channels your account can open.
Parameters
| Name | Type | Description |
|---|---|---|
| tab string required | string | Contact Center tab: inbox, my_dialogs, archives or all. |
| query string | string | Search text, the same search as at the top of the Archives tab. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "jivochat_read",
"arguments": {
"operation": "list_chats",
"arguments": {
"tab": "tab"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"chats": [
{
"chat_id": "6f1a2b3c",
"client_name": "Dana Whitfield",
"channel": "Live Chat",
"tab": "inbox",
"preview": "Is the 12-inch model in stock?",
"started_at": "2026-10-19T09:41:00Z"
},
{
"chat_id": "9c4d5e6f",
"client_name": "Visitor from Lisbon",
"channel": "Live Chat",
"tab": "inbox",
"preview": "Offline message: can you call me back about my order?",
"started_at": "2026-10-19T07:12:00Z"
}
],
"next_cursor": null
},
"isError": false
}