wa_get_phone_numbers
List phone numbers registered to a WhatsApp Business Account to find the phone_number_id needed for sending templates, plus quality and messaging status for diagnosing delivery issues.
Instructions
List phone numbers registered to a WhatsApp Business Account (WABA).
Use this to discover the phone_number_id required by wa_send_template. display_phone_number
is the human-readable number (e.g. +351 91 234 5678); id is the numeric resource ID you pass
as phone_number_id to send.
Also returns quality_rating (GREEN/YELLOW/RED) and messaging status, useful for diagnosing delivery problems.
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>"
},
"name": "wa_get_phone_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to return | id,display_phone_number,verified_name,quality_rating,status |
| waba_id | Yes | WhatsApp Business Account ID (numeric) |