react
Manage emoji reactions on Twist threads, comments, or messages. Specify the target type and ID to add or remove an emoji.
Instructions
Add or remove an emoji reaction on a thread, comment, or conversation message. Use targetType to specify the type of object (thread, comment, or message) and targetId for the ID.
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": {
"targetType": "<targetType>",
"targetId": "<targetId>",
"emoji": "<emoji>"
},
"name": "react"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emoji | Yes | The emoji to react with (e.g., "👍", "❤️", "🎉"). | |
| targetId | Yes | The ID of the thread, comment, or message to react to. | |
| operation | No | Whether to add or remove the reaction. | add |
| targetType | Yes | The type of object to react to: thread, comment, or message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| emoji | Yes | ||
| success | Yes | ||
| targetId | Yes | ||
| operation | Yes | ||
| targetUrl | Yes | ||
| targetType | Yes |