set_node_properties
Update a Figma node's opacity, visibility, rotation, blend mode, clipping, lock state, stroke alignment, dash pattern, or corner smoothing, including hiding layers inside instances.
Instructions
Set a node's opacity, visibility, rotation, blend mode, clipping, lock, stroke alignment, dashes or corner smoothing; hiding a layer inside an instance is an override
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>"
},
"name": "set_node_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | No | ||
| nodeId | Yes | The node's ID | |
| opacity | No | ||
| visible | No | ||
| rotation | No | Degrees | |
| blendMode | No | ||
| dashPattern | No | Dash and gap lengths, e.g. [4, 4]; [] for solid | |
| strokeAlign | No | ||
| clipsContent | No | Frames: hide children outside the bounds (crops an image inside) | |
| cornerSmoothing | No | 0.6 matches iOS's continuous corners |