Update a lead name
update_lead_nameCorrect the name of one of the authenticated user's leads. Takes a campaign lead id from list_leads and changes only that campaign's copy of the contact, so the same person in another campaign is not changed. Does not alter the email address, draft, status or sending state, and does not send anything.
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": "<name>"
},
"name": "update_lead_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The corrected contact name. | |
| lead_id | Yes | The campaign lead to rename. Get its id from list_leads. | |
| idempotency_key | No | Optional. Send the SAME value when retrying a call you are unsure completed, so the edit runs once. |