概述
Agent 可以通过 message 工具的 react 动作在消息上添加/移除 emoji 表情反应。各平台行为有所不同。
核心功能
- 添加反应:
{ "action": "react", "messageId": "msg-123", "emoji": "thumbsup" } - 移除反应:
emoji设为空字符串(移除所有 bot 反应)或remove: true(移除特定 emoji) trackToolCalls: true:让运行时在同一 turn 中使用该消息进行后续工具进度反应reactionLevel配置:控制 Agent 使用反应的积极程度(off/ack/minimal/extensive)
各平台行为
| 平台 | 空 emoji | remove: true |
|---|---|---|
| Discord/Slack | 移除所有 bot 反应 | 移除指定 emoji |
| Google Chat | 移除 app 反应 | 移除指定 emoji |
| Telegram | 移除 bot 反应 | 仍需非空 emoji |
| 移除 bot 反应 | 映射为空 emoji | |
| Feishu/Lark | 使用 feishu_reaction 工具 | 需要 reaction_id |
| iMessage | tapback 类型(love/like/dislike 等) | - |
配置
{
channels: {
telegram: { reactionLevel: "minimal" },
whatsapp: { reactionLevel: "ack" },
},
}相关页面
- concepts/tool-agent-send — message 工具(包含 react 动作)
- concepts/channel-docking — 跨 channel 会话切换