Accept a chat
Accept a waiting chat from the Inbox so it moves to My dialogs.
MCP tool jivochat_write → accept_chat
write Confirm
accept_chat takes a chat no agent has accepted yet and makes you its agent, so the client sees that someone is there. A chat that another agent accepted first fails with a clear error and nothing changes. After it, reply_to_chat can write in the chat. By default you confirm each call; you can switch that off for this tool.
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_write",
"arguments": {
"operation": "accept_chat",
"arguments": {
"chat_id": "chat_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"chat_id": "6f1a2b3c",
"status": "accepted",
"tab": "my_dialogs"
},
"isError": false
}