get_pairing_qr
Initiates pairing and returns a QR code (image, an auto-refreshing link, and a data URL). The QR must be scanned with the camera of the phone that has the user's WhatsApp, so it has to be shown on a different screen (another phone, a computer or a tablet). If the user is talking to you on the same phone that has their WhatsApp, and has no second screen to show the QR on, do NOT use this — use request_pairing_code instead. If the QR expires, call it again: it reuses the running pairing session. Use only ONE pairing method at a time: never call request_pairing_code and get_pairing_qr together, and never call restart_session while the user is pairing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_pairing_qr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||