add_reaction
React to a Nextcloud chat message with an emoji using a token, message ID, and reaction; returns JSON mapping each reaction to users.
Instructions
React to a chat message with an emoji. Reacting twice with the same one changes nothing.
Args: token: The conversation token. message_id: The message to react to. reaction: One emoji, e.g. "👍".
Returns: JSON object mapping each reaction on the message to who used it.
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": {
"token": "<token>",
"message_id": "<message_id>",
"reaction": "<reaction>"
},
"name": "add_reaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| reaction | Yes | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |