add_reaction
Add an emoji reaction to a post in Mattermost by specifying post ID and emoji name.
Instructions
Add an emoji reaction to a message.
Adds a reaction from the authenticated user. Common emojis: thumbsup, thumbsdown, smile, heart, eyes. Adding the same reaction twice has no additional effect.
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": {
"post_id": "<post_id>",
"emoji_name": "<emoji_name>"
},
"name": "add_reaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | 26-character post/message identifier (e.g., 'o5w8h47pdfbzjc4d8w7dhnhren') | |
| emoji_name | Yes | Emoji name without colons (e.g., 'thumbsup', 'smile') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | Post that was reacted to | |
| user_id | Yes | User who reacted | |
| create_at | Yes | Reaction timestamp | |
| emoji_name | Yes | Emoji name without colons |