Skip to main content
Glama

Talk to Figma MCP

by yhc984

set_layout_mode

Modify the layout mode and wrap behavior of a frame in Figma by specifying the node ID, layout mode (vertical, horizontal, or none), and wrap settings.

Instructions

Set the layout mode and wrap behavior of a frame in Figma

Input Schema

NameRequiredDescriptionDefault
layoutModeYesLayout mode for the frame
layoutWrapNoWhether the auto-layout frame wraps its children
nodeIdYesThe ID of the frame to modify

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "layoutMode": { "description": "Layout mode for the frame", "enum": [ "NONE", "HORIZONTAL", "VERTICAL" ], "type": "string" }, "layoutWrap": { "description": "Whether the auto-layout frame wraps its children", "enum": [ "NO_WRAP", "WRAP" ], "type": "string" }, "nodeId": { "description": "The ID of the frame to modify", "type": "string" } }, "required": [ "nodeId", "layoutMode" ], "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/yhc984/cursor-talk-to-figma-mcp-main'

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