update_node
Change an existing Figma node's dimensions, position, fill, image, corner radius, opacity, layout alignment, or text auto-resize settings.
Instructions
Update dimensions, coordinates, fills, images (supports local file paths), corner radius, opacity, layout alignment, or text auto-resize of an existing node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X coordinate | |
| y | No | New Y coordinate | |
| fill | No | New hex color fill (e.g. '#FFFFFF') | |
| name | No | New name for the node | |
| image | No | New image URL, local file path, or base64 data URI | |
| width | No | New width in pixels | |
| height | No | New height in pixels | |
| nodeId | Yes | Target node ID | |
| opacity | No | Opacity from 0 to 1 | |
| visible | No | Visibility boolean | |
| fontSize | No | New font size in pixels | |
| fontFamily | No | New font family for text nodes (e.g. 'Playfair Display', 'Inter') | |
| fontWeight | No | New font weight/style for text nodes (e.g. 'Bold', 'Regular', 'SemiBold') | |
| layoutGrow | No | Flex grow factor (0 or 1) | |
| itemSpacing | No | AutoLayout gap between children | |
| layoutAlign | No | Layout alignment in parent flex container | |
| cornerRadius | No | New corner radius | |
| textAutoResize | No | Text auto-resize mode | |
| counterAxisAlignItems | No | Counter axis alignment for frames | |
| primaryAxisAlignItems | No | Primary axis alignment for frames |