update_lead
Update an existing lead's name, price, pipeline, status, and custom fields in Kommo. Automatically maps custom field names to IDs and formats timestamps.
Instructions
Update an existing Lead in Kommo. Automatically maps custom field NAMES to their IDs, formats timestamps for dates. Does NOT update contacts.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lead_id": "<lead_id>"
},
"name": "update_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | Lead ID to update | |
| lead_name | No | New Lead Name | |
| price | No | Lead price/value (MUST BE AN INTEGER no decimals. e.g. 150.50 -> 150) | |
| pipeline_id | No | Pipeline ID | |
| status_id | No | Status ID inside the pipeline | |
| custom_fields | No | Key-value pairs of LEAD custom fields (keys are exact field NAMES). |