bind_component_property
Bind a Figma component property to a node field such as visibility, text content, or main component. Use it to control nodes through component property references or unbind them.
Instructions
Bind a BOOLEAN/TEXT/INSTANCE_SWAP property to a node field using componentPropertyReferences.
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>",
"field": "<field>"
},
"name": "bind_component_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| nodeId | Yes | ||
| unbind | No | ||
| propertyName | No | ||
| propertyOwnerId | No |