Reply to conversation
Sends a reply to the customer in the conversation's own channel.
MCP tool trengo_write → reply_to_conversation
Sends the message as you, by email, WhatsApp or whichever channel the conversation is on. A reply sent cannot be recalled through Cotlet. On WhatsApp, Trengo asks you to keep to WhatsApp's 24-hour limitation, and a template is the only way to start a conversation; this tool answers existing conversations only. Set close_after_send for Send and close. 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. |
| message string required | string | Text to send. |
| close_after_send boolean | boolean | Send and close in one step. Default: false. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trengo_write",
"arguments": {
"operation": "reply_to_conversation",
"arguments": {
"conversation_id": 5120391,
"message": "Hi Lena, your refund was issued today and shows on your statement within a few days. Reply here if it has not arrived by Friday."
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"conversation_id": 5120391,
"message_id": 93410022,
"channel": "Email",
"sent_at": "2026-10-20T08:14:00Z",
"closed": false
},
"isError": false
}