Skip to main content
Glama

set_grid

Modify layout grids on Figma nodes (frames, components, instances) by creating, updating, or deleting them via Conduit. Streamline design alignment, column/row patterns, and visibility settings for precise control.

Instructions

Create, update, or delete one or more layout grids on Figma nodes (FRAME, COMPONENT, INSTANCE).

Returns: Array of result objects for each operation.

Input Schema

NameRequiredDescriptionDefault
entriesNo
entryNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "entries": { "items": { "$ref": "#/properties/entry" }, "type": "array" }, "entry": { "additionalProperties": false, "properties": { "delete": { "type": "boolean" }, "gridIndex": { "type": "number" }, "nodeId": { "type": "string" }, "properties": { "additionalProperties": false, "properties": { "alignment": { "enum": [ "MIN", "MAX", "STRETCH", "CENTER" ], "type": "string" }, "color": { "additionalProperties": false, "properties": { "a": { "maximum": 1, "minimum": 0, "type": "number" }, "b": { "maximum": 1, "minimum": 0, "type": "number" }, "g": { "maximum": 1, "minimum": 0, "type": "number" }, "r": { "maximum": 1, "minimum": 0, "type": "number" } }, "required": [ "r", "g", "b" ], "type": "object" }, "count": { "type": "number" }, "gutterSize": { "type": "number" }, "offset": { "type": "number" }, "pattern": { "enum": [ "GRID", "COLUMNS", "ROWS" ], "type": "string" }, "sectionSize": { "type": "number" }, "visible": { "type": "boolean" } }, "required": [ "pattern" ], "type": "object" } }, "required": [ "nodeId" ], "type": "object" } }, "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