figma_create_interaction
Add prototype interactions to a Figma node. Specify a trigger (click, hover, timeout) and action (navigate, overlay, URL) to control flows.
Instructions
Add a prototype interaction to a node.
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>",
"trigger": "<trigger>",
"action": "<action>"
},
"name": "figma_create_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| action | Yes | ||
| easing | No | ||
| nodeId | Yes | ||
| timeout | No | ||
| trigger | Yes | ||
| duration | No | ||
| direction | No | ||
| transition | No | ||
| destinationId | No | ||
| overlayPositionType | No | ||
| preserveScrollPosition | No |