whatsapp_connect_link
Get the link the user opens to connect their WhatsApp number so broadcasts reach real phones. Two steps, because connecting registers a phone number with Meta and that number must NOT already be in use with WhatsApp: call this tool first with no arguments — it returns no link, only confirmation_question — ask the user that question and wait for their reply; then, once they confirm they have such a number, call it again with phone_number_confirmed: true to get connect_url. Returns { connect_url, connected, configured, phone_number, phone_number_confirmation_required, confirmation_question, instructions }; connect_url is null until confirmed. Connecting then requires a one-time Facebook login in the browser (a Meta requirement the agent cannot do for them) — surface connect_url to the user and ask them to finish it there. Everything after that (token exchange, number registration) is automatic. If connected is already true, the workspace is live and no action is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone_number_confirmed | No | Set to true ONLY after the user has confirmed in chat that they have a phone number they can register with WhatsApp Business — one not already in use with WhatsApp (regular app or Business) that can receive an SMS or voice call for the verification code. Omit it to get the question to ask them. Never assume the answer or set this on the user's behalf. |