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
| Name | Type | Description |
|---|---|---|
| conversation_id integer required | integer | Conversation ID from list_conversations or search_conversations. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trengo_write",
"arguments": {
"operation": "close_conversation",
"arguments": {
"conversation_id": 5120302
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"conversation_id": 5120302,
"status": "closed",
"closed_at": "2026-10-20T09:10:00Z"
},
"isError": false
}