pairing_status
Reports WhatsApp device-pairing state as a structured setup_state envelope, letting supervisors surface the linking QR, detect connection readiness, or handle expired pairing sessions.
Instructions
Report the WhatsApp device-pairing state as a structured setup_state envelope for programmatic supervisors that surface the linking QR to their own clients (e.g. a polling daemon). Read-only; no side effects. Returns a JSON object {type:"setup_state", state, …} where state is ready (paired and connected; adds own_jid/own_phone), awaiting_qr (unpaired; adds qr_payload when a pairing code is cached, or expired=true when the last pairing session expired and a new one starts once /pair is opened or a pairing code is requested), or error (pairing cache unavailable).
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": "pairing_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||