Refresh a contact's WhatsApp name
refresh_contactAsk WhatsApp for this contact's current name.
Only the name is refreshed. The profile picture updates on its own the next time this number exchanges a message with the contact, and this does not change how messages reach them.
It answers right away with requested_at; the refresh then runs in the
background. Call get_contact and read refresh: when completed_at
is set, outcome says what happened (updated means the name changed,
unchanged means it was already current, number_not_connected means
the number was offline, unavailable means WhatsApp did not answer).
This is the one contact tool that is not read-only: it queries WhatsApp over the live connection and spends the organization's per-minute refresh budget, so it needs a key with contacts write access. Do not call it in a loop over a list. Refresh the one contact whose name looks stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contact_id | Yes | Contact id (`ct_…`), from `list_contacts`. | |
| number_alias | No | Which of the organization's WhatsApp numbers this acts on: `main`, the alias of an extra number, or the number's `id` (`num_…`), which stays the same when the alias is renamed. Call `list_numbers` to see them. Defaults to the main number. | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||