set_node_properties
Batch-update many Figma node properties in one whitelist-validated call, covering layout, sizing, visibility, and text settings to build and adjust designs consistently.
Instructions
Set many node properties at once, validated against a whitelist. Numbers: opacity, rotation, x, y, width, height (resize; makes the size FIXED), itemSpacing, padding*, strokeWeight, stroke{Top,Right,Bottom,Left}Weight (per-side inner borders), cornerSmoothing, topLeftRadius..bottomRightRadius, cornerRadius, layoutGrow, paragraphSpacing, paragraphIndent, maxLines. Numbers or null: minWidth, maxWidth, minHeight, maxHeight, counterAxisSpacing. Booleans: visible, locked, clipsContent, isMask, itemReverseZIndex, strokesIncludedInLayout. Strings: name, description (components). Enums: blendMode, layoutMode, layoutWrap (WRAP = flex-wrap), primaryAxisSizingMode, counterAxisSizingMode, primaryAxisAlignItems, counterAxisAlignItems, counterAxisAlignContent, layoutAlign, layoutPositioning, layoutSizingHorizontal, layoutSizingVertical, strokeAlign, strokeJoin, strokeCap, textAutoResize, textAlignHorizontal, textAlignVertical, textCase, textDecoration, textTruncation, leadingTrim. Objects: constraints {horizontal, vertical}; dashPattern [numbers].
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>",
"properties": "<properties>"
},
"name": "set_node_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ||
| properties | Yes | {property: value} |