Update lead
update_leadDestructive
Updates a saved lead's track, outreach status, owner name, contact email, or notes. Use after audits (status='audited') or when outreach state changes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| track | No | ||
| leadId | Yes | Lead id from list_leads. | |
| status | No | ||
| aiNotes | No | Short summary of what the assistants said. | |
| auditId | No | Id of the prospecting site audit (from run_site_audit) backing this lead's report — links the report to real issues with real page URLs. | |
| ownerName | No | ||
| projectId | Yes | Required. The HarborRank project ID to scope this call to. Get one from list_projects. | |
| aiMentioned | No | Whether AI assistants mention this business when asked for a <niche> in <city>. | |
| contactEmail | No | ||
| aiRecommended | No | The business AI assistants recommend instead. | |
| auditIssuesCount | No | Total issues found by the site audit. Store the findings themselves via set_lead_top_issues; SERP evidence via set_lead_serp_checks. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead | Yes | ||
| meta | No |