set_node_properties
Edit properties of Figma nodes by node ID or current selection. Apply fill, stroke, layout, text, and other visual properties to multiple nodes at once.
Instructions
Edit properties on existing nodes (by nodeIds, single nodeId, or the current Figma selection when neither is given). Same property surface as create_node — fill, stroke, strokeWeight, cornerRadius, opacity, x/y/width/height, name, visible, locked, rotation, auto-layout props (layout/gap/padding/justify/items/sizing), constraints ({horizontal,vertical} = MIN|CENTER|MAX|STRETCH|SCALE), and text (characters, fontSize, fontFamily/fontStyle — fonts auto-loaded). Applies to every target node; returns per-node ok/error.
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": {
"props": "<props>"
},
"name": "set_node_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | Yes | Properties to set, e.g. { fill: '#FF0000', gap: 8, layout: 'row' } | |
| nodeId | No | ||
| nodeIds | No |