client_getState
Get the current connection state for a WhatsApp Web session by providing its session ID. Determine if the client is connected or disconnected.
Instructions
[Client] Get the current connection state for the client
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": "client_getState"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |