Get an account
get_accountRetrieve the current status of a linked WhatsApp account, including its profile name, linked phone number, proxy location, disconnect reason, and last error. Also indicates whether a QR code is waiting to be scanned for authentication.
Instructions
One account: status, linked phone number, profile name, proxy location, disconnect reason and last error. hasQrCode says a QR code is waiting to be scanned (get it with get_account_qr_code).
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": {
"accountId": "<accountId>"
},
"name": "get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |