bind_variable_to_fill
Bind a Figma variable to a node's fill color to update the fill automatically when the variable changes.
Instructions
Bind a Figma variable to a node's fill color
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>",
"variableName": "<variableName>"
},
"name": "bind_variable_to_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to bind the variable to | |
| variableName | Yes | The name of the Figma variable to bind |