connect_device
Start WhatsApp pairing for a device by returning a QR/session state. Scan the QR code to authenticate and connect the device.
Instructions
Start connecting a device. Returns the QR/session state used to pair WhatsApp.
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": {
"device_id": "<device_id>"
},
"name": "connect_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device to connect |