send_message
Send a new WhatsApp text message to a person or group. Optionally marks the chat as read. Returns the WhatsApp message ID.
Instructions
Send a new WhatsApp text message to a person or group; recipients see it as a fresh message from the paired account and the row is also stored in the local cache. Reversible via delete_message (revoke) or edit_message (correct text); to quote a previous message use send_reply, for emoji acknowledgement use send_reaction. Returns a JSON object {Success, Message, ID} where ID is the WhatsApp message ID on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark_chat_read | No | if true, also ack recent incoming messages in the chat to clear the unread badge (defaults to false) | |
| message | Yes | message body text | |
| recipient | Yes | Send target: digits only (E.164 without `+`, no spaces or punctuation); or `<digits>@s.whatsapp.net`; or group `<digits>-<timestamp>@g.us` |