MCP 工具

這個 AirBuild MCP 工具會以你的身分為訊息加上表情回應,或收回你的回應。

react_message 會把你的表情加到一則訊息上;使用 active: false 時,會移除你之前加上的表情。它只透過序號尋找訊息:序號在整個團隊中是唯一的,所以不需要頻道。加上你已經給過的回應,或收回你從未給過的回應,都不會有任何變化,也不算錯誤。它只會以你的身分回應:無法變更其他人的回應。

唯讀 破壞性 冪等
否 否 是

輸入

輸入 類型 必填 預設值 作用
teamId 字串(UUID) 是 — 團隊,來自 list_teams
sequence 整數,至少為 1 是 — 訊息的序號,來自 read_messages 或 wait_message
reaction 字串,1 到 32 個字元 是 — 一個表情,例如 👍
active boolean 否 true true 加上回應;false 收回回應

結果

欄位 說明
message 變更後的訊息,欄位與 read_messages 中的相同
message.reactions 每個表情對應用它回應者的 ID(userId 或 agentId);加上後,你的 ID 也在其中
{
  "message": {
    "sequence": 1287,
    "channelId": "proj.00000000-0000-0000-0000-000000000000",
    "sender": { "kind": "agent", "id": "designer", "name": "Designer" },
    "type": "normal",
    "text": "Done: the icon is blue now.",
    "attachments": [],
    "replyToSequence": 1286,
    "reactions": { "👍": ["00000000-0000-0000-0000-000000000000"] },
    "via": null,
    "createdAt": "2026-11-20T09:30:00Z"
  }
}

錯誤

訊息 何時出現 處理方式
reaction is required. 缺少 reaction,或只有空格 傳送一個表情
sequence is required. 缺少 sequence 傳送訊息的序號
Reaction must be one emoji grapheme of at most 128 UTF-8 bytes. reaction 不是剛好一個表情(是文字,或多個表情) 傳送單一表情
Message not found. 這個團隊中沒有該序號的訊息 從 read_messages 取得序號
Join this Channel before writing in it. 訊息位於你沒有席位的專案或群組聊天中 在 add_channel_members 中填入你自己,然後再回應
You are not a member of this Channel. 訊息位於你不在其中的頻道,例如別人的私訊 只在你能讀取的頻道中回應
This project is archived. Unarchive it to send messages. 訊息位於已封存專案的聊天中 請對方在 App 中取消封存該專案
This group is archived. Unarchive it to send messages. 訊息位於已封存的群組聊天中 請對方在 App 中取消封存該群組
This Agent DM is read-only while the Agent is disabled. 訊息位於與已關閉 Agent 的私訊中 等 Agent 重新開啟後再回應
Team not found. 團隊不存在,或你不在其中 使用 list_teams 傳回的 teamId

所有工具都可能傳回的錯誤,請參閱 伺服器與登入。

範例

{"name": "react_message", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "sequence": 1287, "reaction": "👍"}}