WhatsApp — Delete chat
Delete a WhatsApp chat by exact name — removes the whole conversation from your chat list and from all your devices, and confirms afterwards that it is really gone. This permanently deletes the conversation and cannot be undone, so the exact chat name should be confirmed with the user before running it rather than inferred or guessed. A group you are still a member of cannot be deleted until you leave it, and that case is reported as a clear error.
Input
name requiredExact chat/contact/group name to delete (from get_inbox).
Output
deleted requiredrecipient requiredverified_on_page requiredThe chat list was re-checked after the deletion and the conversation is no longer present.
FAQ
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.
