Update prospect
update_prospectUpdate an existing prospect by id. The email is required even when only other fields change (it is the prospect's natural key). Send the full desired state: an omitted first_name, last_name or timezone is set to null and an omitted custom_fields becomes an empty object; company_name is the one field kept when omitted (pass company_name: null to clear it). Returns 404 for an id that does not belong to this workspace.
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": {
"id": "<id>",
"email": "<email>"
},
"name": "update_prospect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Prospect id (uuid) as returned by create_prospect. | |
| Yes | Email address of the prospect (required, may be unchanged). | ||
| timezone | No | IANA time zone of the prospect, e.g. Europe/Warsaw. Used for send windows. | |
| last_name | No | Last name. | |
| first_name | No | First name. | |
| company_name | No | Company name as the operator knows it. Takes precedence over the email domain when grouping prospects into companies; omit to group by domain. | |
| custom_fields | No | Custom fields as a flat map of name -> value (strings, numbers or booleans; nested objects are rejected). Used by {{snippets}} in email templates. |