React to Message
wa_reactReact to a WhatsApp message with an emoji. Pass an empty reaction to remove a reaction you previously sent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat": "<chat>",
"message_id": "<message_id>",
"reaction": "<reaction>"
},
"name": "wa_react"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | the chat the message is in — a phone number or a group JID; reacting to a channel (@newsletter) message is not supported | |
| sender | No | group chats only: the phone number or JID of whoever sent the original message; omit in a DM or for your own message | |
| reaction | Yes | the emoji to react with; an empty string removes a reaction you previously sent | |
| account_id | No | the account, as returned by wa_list_accounts; omit it when the workspace has only one account | |
| message_id | Yes | WhatsApp's id for the message, as returned by wa_send_message or seen in wa_list_messages |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ok (the operation succeeded) or refused (nothing was done) | |
| refusal | No | present only when status is refused | |
| new_message_id | No | WhatsApp's id for the react/edit/revoke protocol message itself |