update_contact
Update a contact's information: name, email, city, country, and the workspace's own contact custom fields (custom_fields: key → value, null clears). Call get_contact first to see which custom field keys exist, their types and allowed options. Only the fields you pass are changed.
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": {
"phone": "<phone>"
},
"name": "update_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City | |
| name | No | New name for the contact | |
| No | New email | ||
| phone | Yes | Phone number of the contact to update | |
| country | No | Country | |
| custom_fields | No | The workspace's own contact custom fields, as an object of field key → value (e.g. {"ficha_cliente": "Cliente desde 2024, prefiere entregas por la mañana"}). Keys are defined by the workspace, so call get_contact first: its "custom_fields" list shows every available key with its type, label, current value and, for select fields, the allowed option values. Value formats by type: text/textarea/phone/email/url → string; number/currency → number; date → "YYYY-MM-DD"; datetime → "YYYY-MM-DD HH:MM"; boolean → true/false; select → one option value; multiselect → array of option values. Pass null (or "") to clear a field. Fields you leave out are not changed. |