Send message

Reply to the customer in a chat, as you.

MCP tool livechat_write → send_message

write Confirm

Sends a message to the customer in one chat, under your agent name. Pass canned_response to send the text of a canned response with its variables filled in. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_message
NameTypeDescription
chat_id string required string Chat ID from list_chats or list_archived_chats.
body string required string Message text.
canned_response string string Response ID from list_canned_responses. Replaces body.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "livechat_write",
    "arguments": {
      "operation": "send_message",
      "arguments": {
        "chat_id": "PJ0MRSHTDG",
        "body": "Hi Lena, thanks for writing. Could you send me your order number so I can check the delivery?"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "chat_id": "PJ0MRSHTDG",
    "event_id": "ev_5530",
    "status": "sent",
    "sent_at": "2026-10-17T07:02:00+02:00"
  },
  "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.