set_instance_properties
Update component properties on Figma instances—variant values, booleans, text, and instance swaps—by specifying node IDs and new values.
Instructions
Set component properties on instances (variant values, booleans, text, instance swap).
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": {
"nodeIds": "<nodeIds>",
"properties": "<properties>"
},
"name": "set_instance_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| nodeIds | Yes | ||
| properties | Yes | Property names may omit the '#id' suffix |