whatsapp_get_contact
Check a phone number in E.164 format for WhatsApp registration and retrieve the WhatsApp ID.
Instructions
[LEGACY / UNSUPPORTED] Look up a phone number to check if it has a WhatsApp account and retrieve the WhatsApp ID. This relies on the POST /{phone-number-id}/contacts 'contact check' feature of the legacy WhatsApp On-Premises API, whose final client version expired on 2025-10-23 (per Meta's On-Premises API Sunset). It was never part of the WhatsApp Cloud API used by this server and has no Cloud API equivalent, so it is not expected to work; it is retained only for backwards compatibility. To check deliverability, send the message and inspect message-status webhooks / error codes instead.
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": {
"phone_number": "<phone_number>"
},
"name": "whatsapp_get_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone_number | Yes | Phone number to look up in E.164 format (e.g. +15551234567). Returns WhatsApp ID and validity status. |