Update a contact
update_contactEdit a saved contact's name and/or E.164 phone number atomically.
Confirm the existing contact and proposed change with the user first. A name conflict refuses instead of overwriting another person. Return values mask the number; do not repeat a full number in chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New contact name. | |
| old_name | Yes | Exact current contact name. | |
| phone_number | Yes | New phone number in E.164 format. | |
| user_confirmed | Yes | True only after the user explicitly confirms the recipient and action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||