whatsapp_register_phone_number
Registers a phone number with WhatsApp Cloud using a 6-digit 2FA PIN so it can send messages.
Instructions
Register a phone number with WhatsApp Cloud (required before sending).
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": {
"pin": "<pin>"
},
"name": "whatsapp_register_phone_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin | Yes | 6-digit 2FA PIN | |
| access_token | No | Optional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env) | |
| phone_number_id | No | WhatsApp Business Phone Number ID (falls back to WHATSAPP_PHONE_NUMBER_ID env) |