Update lead
update_leadModify fields on one lead by sending only changed values; include expectedUpdatedAt to reject stale writes and use null to clear phone, email, city, or notes.
Instructions
Change fields on one lead. Send only the fields that change. Pass expectedUpdatedAt from the last read to reject a stale write. Null clears phone, email, city, or notes. Money stays in integer cents.
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": {
"leadId": "<leadId>"
},
"name": "update_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| No | Null clears the email address. | ||
| notes | No | ||
| phone | No | Null clears the phone number. | |
| stage | No | ||
| leadId | Yes | ||
| source | No | ||
| service | No | ||
| urgency | No | ||
| contactName | No | ||
| expectedUpdatedAt | No | Optimistic concurrency token. Pass the updatedAt you last read. The update is rejected if the lead changed. | |
| estimatedValueCents | No |