create_hover_state
Creates a hover interaction on a Figma component by linking a variant to its hover state, enabling interactive prototypes.
Instructions
Create a hover variant interaction on a component.
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>",
"hoverVariant": "<hoverVariant>"
},
"name": "create_hover_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Component or instance | |
| hoverVariant | Yes | Variant name for hover state |