set_auto_layout_resizing
Configures auto layout sizing modes (HUG or FILL) for specified nodes along horizontal or vertical axes in Figma, returning updated node IDs for tracking changes.
Instructions
Sets hug or fill sizing mode on an auto layout frame or child node in Figma.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the updated node's ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
axis | Yes | The axis to set sizing mode for: "horizontal" or "vertical". | |
mode | Yes | The sizing mode to set: "FIXED", "HUG", or "FILL". | |
nodeId | Yes | The unique Figma node ID to update. Must be a string in the format '123:456'. |