Reconnect an account
reconnect_accountRestart a disconnected account session to obtain a fresh QR code and re-link the WhatsApp number.
Instructions
Restart the account's session. Use it when an account is disconnected; when the link is no longer valid it produces a fresh 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": "reconnect_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |