Get the WhatsApp connection status
get_statusCheck connection, sync progress, linked account, last message, and named contacts for a WhatsApp session. Use after NOT_CONNECTED or before sending to confirm the active account.
Instructions
Check the session: connection status ("connected" means the tools work,
"not_linked" means the user must run npx wazap-mcp login), whether the initial
history sync has finished, which account is linked, when a message last arrived,
the versions and data directory in use, and how many contacts carry a name from
the phone's address book (contacts_named: 0 means it never arrived).
Call this whenever another tool reports NOT_CONNECTED, NOT_LINKED or
SYNC_IN_PROGRESS, or to confirm which account you are about to send from.
Without account_id the top-level fields are the default account, plus
accounts listing every live one. While a link is in progress the status
is "linking" and pairing carries the code the user still has to type
into their phone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Registry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account. |