updateContact
updateContact: Update an existing contact's information. Requires authentication. Only the fields you provide are changed; omitted fields keep their current values. Get the contactId from listContacts. Returns the updated contact. To make a contact usable as a .al registrant, send registryAttributes (see createContact).
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": {
"contactId": "<contactId>"
},
"name": "updateContact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | New city name. | |
| No | New email address. | ||
| phone | No | New phone number in '+CC.number' format, e.g. '+1.5551234567'. | |
| state | No | New state, province, or region. | |
| country | No | New country as a 2-letter ISO 3166-1 alpha-2 code, e.g. 'US'. | |
| street1 | No | New first street address line. | |
| street2 | No | New second street address line. | |
| lastName | No | New last name. | |
| contactId | Yes | Identifier of the contact to update, as returned by listContacts. | |
| firstName | No | New first name. | |
| postalCode | No | New postal or ZIP code. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. | |
| organization | No | New organization or company name. | |
| registryAttributes | No | Registry-specific fields (.al / AKEP: entityType, doctype, docnr, nipt). REPLACES the whole stored set, so send every field, not just the changed one. Omit to keep the current ones. |