session_requestPairingCode
Request a WhatsApp pairing code for a session to authenticate a device. Provide the session ID and optionally a phone number to receive the code.
Instructions
[Session] Request authentication via pairing code
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": {
"sessionId": "<sessionId>"
},
"name": "session_requestPairingCode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| phoneNumber | No | Phone number in international, symbol-free format | |
| showNotification | No | Show notification to pair on phone number |