react_to_comment
Add or remove an emoji reaction to a comment. Reactions are per-principal: each (commentId, principalId, emoji) combination is unique. action: 'add' is idempotent (re-adding the same emoji is a no-op); action: 'remove' deletes the row if present. Fires comment.reaction_added / comment.reaction_removed. Use this for lightweight agent acknowledgement (π on a request before reading, π to mark in-progress, β
when done), cheaper than a full reply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emoji | Yes | Emoji character (e.g. 'π', 'β ', 'π'). | |
| action | No | Whether to add or remove the reaction. Default `add`. | |
| comment_id | Yes | Comment to react to. |