Decline an incoming lead

Reject an incoming chat as spam, the Decline button in the chat.

MCP tool kommo_write → decline_incoming_lead

write Confirm

Declines the chat as the Decline button does, which Kommo meant for spam, and returns its status. The chat leaves the Incoming leads queue and Cotlet has no call to bring it back. Nothing is sent to the sender. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: decline_incoming_lead
NameTypeDescription
chat_id string required string Chat ID from list_conversations or list_incoming_leads.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "kommo_write",
    "arguments": {
      "operation": "decline_incoming_lead",
      "arguments": {
        "chat_id": "chat_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "chat_id": "c1d7e9a3",
    "status": "declined"
  },
  "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.