Add a chat reaction
chat_reactAdds an emoji reaction to a flat chat message by message ID, accepting one emoji per call. Use it to respond to messages without changing or posting text.
Instructions
Adds your emoji reaction to any message in the flat chat; you can add several different emojis to one message. Each member holds a given emoji at most once per message, so an emoji you already set stays as it is. Does not change or post message text. Returns ok. Only a single emoji (one pictograph, flag or keycap, with skin-tone or joiner sequences counting as one) is accepted, otherwise emoji_invalid; an unknown message gives message_not_found and a deleted one 409 message_deleted. To take a reaction back use chat_unreact; to write a message use chat_send.
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": {
"id": "<id>",
"emoji": "<emoji>"
},
"name": "chat_react"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the message to react to, from chat_messages. | |
| emoji | Yes | The reaction: one emoji, sent as the emoji character itself, not a name or shortcode like :thumbsup:. Pass the same string to chat_unreact to remove it. | |
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. |