Check if a WhatsApp number is connected
get_instance_statusUse this when someone asks whether a WhatsApp number is connected, waiting for QR pairing, starting or offline. Returns the instance's name, raw status and a health value: ready, pairing, starting, offline or unknown (no QR codes or credentials). Not for whether a sent message was delivered.
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": {
"instanceId": "<instanceId>"
},
"name": "get_instance_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | Instance id: 24 lowercase hexadecimal characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| found | Yes | ||
| health | Yes | ready: connected; pairing: waiting for a QR scan; starting: connecting; offline: logged out or disconnected; unknown: unrecognized state | |
| status | Yes | ||
| instanceId | Yes |