Add or rename a WhatsApp contact
save_contactAdd a new person or rename an existing contact in WhatsApp. Saves the name to the account and linked devices, with optional write to the phone's address book.
Instructions
Save a person in the account's WhatsApp contacts: a new entry for a phone number, or a new name for an existing one. The name syncs to every linked device, and with save_on_phone (default) also into the phone's own address book. WhatsApp keeps no other fields — email, "my accountant" and the like go to set_contact_note, which stays on this machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full name to save the contact under | |
| account_id | No | Registry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account. | |
| contact_id | Yes | Contact id from search_contacts / get_contact, or a phone number | |
| first_name | No | First name, when it differs from the full name | |
| save_on_phone | No | Also write the contact into the phone's address book; false keeps it inside WhatsApp |