update_lead
Update a lead (partial — only provided fields change; empty values are NOT cleared). To blank a column, list it in clear_fields.
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 |
|---|---|---|---|
| fax | No | Fax number | |
| city | No | City | |
| No | Email address | ||
| notes | No | Free-text notes | |
| phone | No | Phone number | |
| title | No | Title of the lead | |
| value | No | Monetary value of the lead | |
| custom | No | Lead custom field values { key: value } set in the same call (list_custom_fields entity 'leads'); null clears. Checked like set_custom_values. | |
| source | No | Where the lead came from | |
| status | No | New status | |
| address | No | Postal address | |
| country | No | Country (ISO code or name) | |
| extra_1 | No | Free extra field 1 | |
| extra_2 | No | Free extra field 2 | |
| extra_3 | No | Free extra field 3 | |
| lead_id | Yes | ID of the lead to change | |
| website | No | Website URL | |
| category | No | Lead category | |
| owner_id | No | ID of the owner (user) | |
| ad_source | No | Advertising platform the lead came from: meta | linkedin | google_ads | microsoft_ads | pinterest | tiktok | openai_ads. Empty means not from advertising. | |
| No | Instagram profile of the lead | ||
| last_name | No | Last name | |
| account_id | No | ID of the account (company) | |
| ad_form_id | No | ID of the lead form | |
| best_email | No | Preferred e-mail address to reach the lead | |
| best_phone | No | Preferred phone number to reach the lead; used before phone when dialing | |
| contact_id | No | ID of the contact | |
| first_name | No | First name | |
| source_url | No | Source URL | |
| ad_click_id | No | The platform's click id (fbclid, gclid, li_fat_id, msclkid, epik, ttclid, oppref). Without it a report back can only be matched on the hashed e-mail. | |
| ad_group_id | No | ID of the ad group | |
| next_action | No | Text of the next planned action | |
| postal_code | No | Postal code | |
| clear_fields | No | Column names to set to NULL (opt-in clear). | |
| referral_link | No | Link for who/what referred this lead — e.g. a URL, or the in-app link to the referring lead. | |
| ad_campaign_id | No | ID of the ad campaign | |
| ad_creative_id | No | ID of the ad creative | |
| ad_external_id | No | The platform's own id for this submission (Meta leadgen_id, LinkedIn response id, Google lead_id). Duplicate guard only — the click id belongs in ad_click_id. | |
| ad_received_at | No | When the platform recorded the click/submission (ISO). Used to build Meta's fbc value. | |
| next_action_at | No | Next action time (ISO 8601) | |
| referral_comment | No | Free-text note on the referral arrangement. | |
| referral_share_type | No | 'revenue' or 'profit' — what the agreed share is a percentage of. | |
| referral_share_percent | No | Agreed referral share, 0-100 (%). |