mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-22 15:31:07 +00:00
1.9 KiB
1.9 KiB
summary, read_when, title
| summary | read_when | title | ||
|---|---|---|---|---|
| Reaction tool semantics across all supported channels |
|
Reactions |
Reactions
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
{
"action": "react",
"messageId": "msg-123",
"emoji": "thumbsup"
}
emojiis required when adding a reaction.- Set
emojito an empty string ("") to remove the bot's reaction(s). - Set
remove: trueto remove a specific emoji (requires non-emptyemoji).
Channel behavior
- Empty `emoji` removes all of the bot's reactions on the message. - `remove: true` removes just the specified emoji. - Empty `emoji` removes the app's reactions on the message. - `remove: true` removes just the specified emoji. - Empty `emoji` removes the bot's reactions. - `remove: true` also removes reactions but still requires a non-empty `emoji` for tool validation. - Empty `emoji` removes the bot reaction. - `remove: true` maps to empty emoji internally (still requires `emoji` in the tool call). - Requires non-empty `emoji`. - `remove: true` removes that specific emoji reaction. - Inbound reaction notifications emit system events when `channels.signal.reactionNotifications` is enabled.Related
- Agent Send — the
messagetool that includesreact - Channels — channel-specific configuration