智能体可以使用带有Documentation Index
Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
Use this file to discover all available pages before exploring further.
react 动作的 message
工具在消息上添加和移除 emoji 反应。反应行为因渠道和传输协议而异。
工作方式
- 添加反应时必须提供
emoji。 - 将
emoji设为空字符串("")以移除机器人的反应。 - 设置
remove: true以移除特定 emoji(需要非空emoji)。 - 在支持状态反应的渠道上,反应中的
trackToolCalls: true会让运行时在同一轮次中将该被反应的消息用于后续工具进度反应。
渠道行为
Discord and Slack
Discord and Slack
- 空
emoji会移除机器人在该消息上的所有反应。 remove: true只会移除指定 emoji。
Google Chat
Google Chat
- 空
emoji会移除应用在该消息上的反应。 remove: true只会移除指定 emoji。
Telegram
Telegram
- 空
emoji会移除机器人的反应。 remove: true也会移除反应,但为了通过工具验证仍需要非空emoji。
WhatsApp
- 空
emoji会移除机器人反应。 remove: true会在内部映射为空 emoji(工具调用中仍需要emoji)。
Zalo Personal (zalouser)
Zalo Personal (zalouser)
- 需要非空
emoji。 remove: true会移除该特定 emoji 反应。
Feishu/Lark
Feishu/Lark
- 使用带有
add、remove和list动作的feishu_reaction工具。 - 添加/移除需要
emoji_type;移除还需要reaction_id。
Signal
Signal
- 入站反应通知由
channels.signal.reactionNotifications控制:"off"会禁用它们,"own"(默认)会在用户对机器人消息做出反应时发出事件,"all"会为所有反应发出事件。
iMessage
iMessage
- 出站反应是 iMessage tapback(
love、like、dislike、laugh、emphasize和question)。 - 入站 tapback 通知由
channels.imessage.reactionNotifications控制:"off"会禁用它们,"own"(默认)会在用户对机器人撰写的消息做出反应时发出事件,"all"会为来自已授权发送者的所有 tapback 发出事件。
反应级别
按渠道配置的reactionLevel 控制智能体使用反应的范围。值通常为 off、ack、minimal 或 extensive。
- Telegram reactionLevel —
channels.telegram.reactionLevel - WhatsApp reactionLevel —
channels.whatsapp.reactionLevel
reactionLevel,以调整智能体在每个平台上对消息做出反应的活跃程度。
相关内容
- Agent Send — 包含
react的message工具 - 渠道 — 特定于渠道的配置