Skip to main content
Glama

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

NameRequiredDescriptionDefault
axisYesThe axis to set sizing mode for: "horizontal" or "vertical".
modeYesThe sizing mode to set: "FIXED", "HUG", or "FILL".
nodeIdYesThe unique Figma node ID to update. Must be a string in the format '123:456'.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "axis": { "description": "The axis to set sizing mode for: \"horizontal\" or \"vertical\".", "enum": [ "horizontal", "vertical" ], "type": "string" }, "mode": { "description": "The sizing mode to set: \"FIXED\", \"HUG\", or \"FILL\".", "enum": [ "FIXED", "HUG", "FILL" ], "type": "string" }, "nodeId": { "description": "The unique Figma node ID to update. Must be a string in the format '123:456'.", "type": "string" } }, "required": [ "nodeId", "axis", "mode" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amalinakurniasari/conduit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server