previewWhatsappNumbers
Preview WhatsApp Business Account numbers and their health before connecting, including an access-token check, so you can fix numbers marked needs_migration or needs_registration first.
Instructions
List the numbers on your WhatsApp Business Account with their health. Connects nothing.
The access token is checked first, against the same rules as connecting, so a preview that passes can connect.
Fix a number with needs_migration or needs_registration in WhatsApp
Manager before you connect it, or its sends fail.
(Tags: WhatsApp)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"waba_id": "<waba_id>",
"access_token": "<access_token>"
},
"name": "previewWhatsappNumbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| waba_id | Yes | Your WhatsApp Business Account id, from WhatsApp Manager. | |
| access_token | Yes | A Meta access token that never expires, with both WhatsApp permissions. |