Link WhatsApp via pairing code (no QR)
whatsapp_get_pairing_codeRequest an 8-digit WhatsApp pairing code for a phone number to link a device via Linked Devices, with a fallback when pairing codes are unsupported.
Instructions
Requests an 8-digit pairing code from WhatsApp for the given phone number. Enter it on the phone under Linked Devices → Link with phone number instead. Falls back gracefully if the account does not support pairing codes.
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": "<phone>"
},
"name": "whatsapp_get_pairing_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Your WhatsApp phone number with country code, digits only (e.g. 919876543210) |