Close conversation

Closes a conversation without sending a message.

MCP tool trengo_write → close_conversation

write Confirm

Uses the checkmark above the ticket. It sends nothing to the customer itself, but Journeys, rules or a CSAT survey you set up may react to a closed conversation. To send a last message and close, use reply_to_conversation with close_after_send. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: close_conversation
NameTypeDescription
conversation_id integer required integer Conversation ID from list_conversations or search_conversations.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "trengo_write",
    "arguments": {
      "operation": "close_conversation",
      "arguments": {
        "conversation_id": 5120302
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "conversation_id": 5120302,
    "status": "closed",
    "closed_at": "2026-10-20T09:10:00Z"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.