update_contact
Update a contact by id. Only the fields supplied are changed; omitted fields keep their current value (dateOfBirth is the exception: an empty string explicitly clears it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of the contact to update, as returned by create_contact or list_contacts. | |
| No | The contact's email address. Omit to leave unchanged. | ||
| notes | No | Free-text notes about the contact. Omit to leave unchanged. | |
| phone | No | The contact's phone number, in any format. Omit to leave unchanged. | |
| address | No | The contact's postal address. Omit to leave unchanged; when supplied, replaces the whole address. | |
| lastName | No | The contact's last (family) name. Omit to leave unchanged. | |
| firstName | No | The contact's first name. Omit to leave unchanged. | |
| dateOfBirth | No | YYYY-MM-DD format. Omit or pass null to leave unchanged; pass an empty string to clear it. | |
| displayName | No | An alternate name to show for the contact instead of first/last, e.g. a nickname, company name, or role. Omit to leave unchanged. | |
| prepareBirthdayPresent | No | Whether to prepare a birthday present for this contact. Omit to leave unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| title | No | ||
| message | No | ||
| variant | No |