WhatsApp Diagnose
whatsapp_diagnoseWhatsApp health check (wacli doctor): which account is linked (number), last sync time, store lock, message/chat counts, a link_state verdict — not_linked (the user must scan a QR) · linked_idle (linked, no socket open right now; wacli reconnects on demand, nothing to do; the summary says whether a send has confirmed the link or only the record on this Mac has) · linked_locked (another process holds this account's store lock right now, named when the doctor says who: not idle, retry shortly) · linked_live · linked_session_lost (the last send was refused as not authenticated: the user must re-link) — and sync_running / sync_started_at / sync_last_completed_at / sync_last_result for the background job whatsapp_sync starts (#1453). Read link_state and requires_user_action, NOT connected: a linked session spends most of its time with connected: false, which on its own says nothing about whether sends work — a session WhatsApp refuses by version looks identical. Treating it as an outage tells the user to re-link a healthy link (#2138).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||