Get State
get_stateCheck the WhatsApp connection state to identify whether the number is authorized, requires a new QR code scan, or is blocked. Use this to verify if the instance is ready to send messages.
Instructions
Состояние инстанса GREEN-API.
authorized — номер подключён и всё работает; notAuthorized — нужно
заново отсканировать QR в консоли GREEN-API; blocked — номер забанен.
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": "get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||