WhatsApp — List communities
List the WhatsApp communities this account belongs to, each with the groups the Communities tab previews for it. Returns every community's name plus its group names, flagging the announcement group and whether WhatsApp is hiding further groups behind its "View all" link — the tab shows only the first few per community, so the group list is a preview rather than full membership. Returns an empty list when the account has no communities, which is a real answer rather than a failure.
Input
None
Output
count requiredHow many communities were found.
communities requiredThe communities this account belongs to, in the order the Communities tab lists them. Empty when there are none.
WhatsApp — Get conversation
Open a WhatsApp chat by its exact name (as returned by get_inbox) and return its messages in chronological order: sender, direction (sent/received), time, date, text and media type. `count` = how many recent messages to load (scrolls up for older). A message that was deleted for everyone is still returned, flagged with `deleted: true` and carrying no text, so it is never mistaken for a message that could not be read.
WhatsApp — Send message or attachment
Send a WhatsApp message to a chat picked either by its exact name (as returned by get_inbox) or by phone number in international format, which needs no saved contact. The message is either text, an attached image, video or document with an optional caption, or a saved contact's card. Confirms the send by inspecting the conversation afterwards — a delivery tick for text, a cleared upload for an attachment, the contact's own bubble for a card — and throws if WhatsApp flagged it as failed or left it stuck, rather than trusting the bubble appearing. Returns the message id, the account that sent it, and whether identical text was already in the conversation beforehand. Attachment bytes must be supplied inline, since they cannot be fetched from a URL at run time.
WhatsApp — Get inbox
List the WhatsApp chat list (inbox): for each chat its name, date/time label, read/unread status, unread message count and last-message snippet. Ordered top→down (most recent first). `count` caps how many chats to return.
