Add or update contacts
upsert_contactsCreate or update 1-1000 people in the workspace, matched by email; nobody is added to a campaign (add_leads does that). mode for people who already exist: fill_empty (default) fills only empty fields, overwrite replaces fields with the values sent, skip leaves them. An empty value never erases a field, and tags are always added to the person's (never removed: update_contact replaces them). Each email comes back with its contact id and outcome; invalid ones are listed with the reason. New people beyond the fair use of contact storage are not saved (over_storage_limit).
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": {
"contacts": "<contacts>"
},
"name": "upsert_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| contacts | Yes |