update_lead
Modify existing lead information including contact details, company data, tags, and custom fields to maintain accurate CRM records.
Instructions
Update an existing lead's properties
Args: lead_id: The unique identifier of the lead email: New email address first_name: New first name last_name: New last name company: New company name title: New job title phone: New phone number tags: New list of tags (replaces existing tags) custom_fields: New custom fields (merges with existing)
Returns: Updated lead object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | ||
| No | |||
| first_name | No | ||
| last_name | No | ||
| company | No | ||
| title | No | ||
| phone | No | ||
| tags | No | ||
| custom_fields | No |
Input Schema (JSON Schema)
{
"properties": {
"company": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"custom_fields": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null
},
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"first_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"last_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"lead_id": {
"type": "string"
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"lead_id"
],
"type": "object"
}