add_reaction
Adds an emoji reaction to a message for the caller, keeping one reaction per member per emoji and emitting a reaction_added event.
Instructions
Add the caller's emoji reaction to a message. A member holds at most one reaction per emoji per message, so repeating it keeps a single reaction, and a reaction_added event is emitted on each call. Returns {ok: true}. Remove it with remove_reaction and read reactions with list_reactions. Requires workspace:write.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_id": "<message_id>",
"emoji": "<emoji>"
},
"name": "add_reaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emoji | Yes | The reaction, usually a single emoji character. Surrounding whitespace is trimmed, and the result must be non-empty and at most 64 bytes. | |
| message_id | Yes | UUID of the message to react to. The caller must be able to read it. |