Update a lead

Change the name, sale amount, responsible user or tags of a lead.

MCP tool kommo_write → update_lead

write Confirm

Returns the lead as it is after the change. Only the fields you send change. Assigning a new responsible user can fire a Digital Pipeline trigger and the new owner sees the lead in their list. A tag that does not exist is created. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: update_lead
NameTypeDescription
lead_id integer required integer Lead ID from list_leads or get_lead.
name string string New lead name.
sale integer integer New sale amount.
responsible_user_id integer integer New owner of the lead.
add_tags array array Tag names to add.
remove_tags array array Tag names to remove.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "kommo_write",
    "arguments": {
      "operation": "update_lead",
      "arguments": {
        "lead_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "lead_id": 24518301,
    "name": "Yoga studio booking",
    "sale": 750,
    "responsible": {
      "user_id": 9102334,
      "name": "Anna Berg"
    },
    "tags": [
      "website",
      "hot"
    ]
  },
  "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.