edit
Batch update properties on multiple Figma nodes for sizing, radius, opacity, effects, and component props. Automatically resolves component property display names.
Instructions
Batch update properties on multiple nodes.
For single-property changes, prefer focused setters: set_text — text content set_fill — fill/background color set_stroke — border set_layout — padding, gap, direction
Use edit for batch fixes or properties not covered by setters (sizing, radius, opacity, effects, component props): edit({nodes: [ {node: "1:1", props: {w: "fill", corner: 8}}, // Figma native props {node: "1:2", props: {opacity: 0.6}}, {node: "1:3", props: {Label: "Sign In"}}, // instance TEXT prop (by display name) ]})
For instances, use component property DISPLAY NAMES (e.g. "Label") — edit resolves them to Figma's internal keys automatically. Component props can be mixed with Figma props in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Node ID (e.g. "1:2") from jsx/inspect results | |
| nodes | No | Batch: array of {node, props?, content?} objects. No hard item cap — real ceiling is LLM output stream length (~10KB+ of rendered params can stall mid-JSON). If a batch is large and props are rich, split into 2 calls. | |
| props | No | Properties to update (single mode) | |
| content | No | New text content (single mode) |