upsert_reaction
Replace the first matching Figma reaction or append if none exists, supporting all action types including node navigation and re-normalizing existing reactions.
Instructions
Replace the first matching reaction (by trigger/action/destination) or append if none match. Supports all action types including NODE navigation. Existing reactions on the node are re-normalized before being written back, so round-tripping does not trip the strict setter schema.
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": {
"nodeId": "<nodeId>"
},
"name": "upsert_reaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | ||
| nodeId | Yes | ||
| reaction | No |