update_lead
Update an existing CRM deal with new details such as status, budget, deadline, contact information, and pipeline stage.
Instructions
Update an existing CRM deal (lead)
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": {
"id": "<id>"
},
"name": "update_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Lead ID to update | |
| name | No | Deal name | |
| active | No | Status: 1=in progress, 2=lost, 3=won | |
| budget | No | Deal budget amount | |
| deadline | No | Planned closing date (YYYY-MM-DD) | |
| assignee_id | No | Responsible user ID | |
| description | No | Deal description | |
| pipeline_id | No | Pipeline ID | |
| closing_date | No | Actual closing date (YYYY-MM-DD) | |
| contact_name | No | Contact person name | |
| contact_email | No | Contact email | |
| contact_phone | No | Contact phone | |
| closing_comment | No | Closing comment | |
| closing_status_id | No | Loss reason ID (for lost deals) | |
| pipeline_stage_id | No | Pipeline stage ID |