2026-01-08 23:25:45 +01:00
|
|
|
---
|
2026-03-20 11:10:45 -07:00
|
|
|
summary: "Reaction tool semantics across all supported channels"
|
2026-01-08 23:25:45 +01:00
|
|
|
read_when:
|
2026-01-13 07:15:57 +00:00
|
|
|
- Working on reactions in any channel
|
2026-03-20 11:10:45 -07:00
|
|
|
- Understanding how emoji reactions differ across platforms
|
2026-01-31 16:04:03 -05:00
|
|
|
title: "Reactions"
|
2026-01-08 23:25:45 +01:00
|
|
|
---
|
2026-01-31 21:13:13 +09:00
|
|
|
|
2026-03-20 11:10:45 -07:00
|
|
|
# Reactions
|
2026-01-07 04:24:11 +01:00
|
|
|
|
2026-03-20 11:10:45 -07:00
|
|
|
The agent can add and remove emoji reactions on messages using the `message`
|
|
|
|
|
tool with the `react` action. Reaction behavior varies by channel.
|
|
|
|
|
|
|
|
|
|
## How it works
|
|
|
|
|
|
|
|
|
|
```json
|
|
|
|
|
{
|
|
|
|
|
"action": "react",
|
|
|
|
|
"messageId": "msg-123",
|
|
|
|
|
"emoji": "thumbsup"
|
|
|
|
|
}
|
|
|
|
|
```
|
2026-01-07 04:24:11 +01:00
|
|
|
|
2026-01-11 03:42:34 +00:00
|
|
|
- `emoji` is required when adding a reaction.
|
2026-03-20 11:10:45 -07:00
|
|
|
- Set `emoji` to an empty string (`""`) to remove the bot's reaction(s).
|
|
|
|
|
- Set `remove: true` to remove a specific emoji (requires non-empty `emoji`).
|
|
|
|
|
|
|
|
|
|
## Channel behavior
|
|
|
|
|
|
|
|
|
|
<AccordionGroup>
|
|
|
|
|
<Accordion title="Discord and Slack">
|
|
|
|
|
- Empty `emoji` removes all of the bot's reactions on the message.
|
|
|
|
|
- `remove: true` removes just the specified emoji.
|
|
|
|
|
</Accordion>
|
|
|
|
|
|
|
|
|
|
<Accordion title="Google Chat">
|
|
|
|
|
- Empty `emoji` removes the app's reactions on the message.
|
|
|
|
|
- `remove: true` removes just the specified emoji.
|
|
|
|
|
</Accordion>
|
|
|
|
|
|
|
|
|
|
<Accordion title="Telegram">
|
|
|
|
|
- Empty `emoji` removes the bot's reactions.
|
|
|
|
|
- `remove: true` also removes reactions but still requires a non-empty `emoji` for tool validation.
|
|
|
|
|
</Accordion>
|
|
|
|
|
|
|
|
|
|
<Accordion title="WhatsApp">
|
|
|
|
|
- Empty `emoji` removes the bot reaction.
|
|
|
|
|
- `remove: true` maps to empty emoji internally (still requires `emoji` in the tool call).
|
|
|
|
|
</Accordion>
|
|
|
|
|
|
|
|
|
|
<Accordion title="Zalo Personal (zalouser)">
|
|
|
|
|
- Requires non-empty `emoji`.
|
|
|
|
|
- `remove: true` removes that specific emoji reaction.
|
|
|
|
|
</Accordion>
|
|
|
|
|
|
|
|
|
|
<Accordion title="Signal">
|
|
|
|
|
- Inbound reaction notifications emit system events when `channels.signal.reactionNotifications` is enabled.
|
|
|
|
|
</Accordion>
|
|
|
|
|
</AccordionGroup>
|
2026-01-07 04:24:11 +01:00
|
|
|
|
2026-03-20 11:10:45 -07:00
|
|
|
## Related
|
2026-01-07 04:24:11 +01:00
|
|
|
|
2026-03-20 11:10:45 -07:00
|
|
|
- [Agent Send](/tools/agent-send) — the `message` tool that includes `react`
|
|
|
|
|
- [Channels](/channels) — channel-specific configuration
|