Skip to main content
Glama

create_frame

Generate one or more frame nodes in Figma documents with precise positioning, dimensions, and customizable properties like corner radius, fill, and stroke color. Supports single or multiple configurations for efficient design workflows.

Instructions

Creates one or more frame nodes in the specified Figma document. Accepts either a single frame config (via 'frame') or an array of configs (via 'frames'). Optionally, you can provide a name, a parent node ID, fill color, stroke color, stroke weight, and corner radius.

Corner radius can be:

  • A single number for uniform corners (e.g., 8)

  • An array of 4 numbers for individual corners [topLeft, topRight, bottomRight, bottomLeft] (e.g., [8, 8, 0, 0])

Returns:

  • content: Array of objects. Each object contains a type: "text" and a text field with the created frame node ID(s).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameNoA single frame configuration object. Each object should include coordinates, dimensions, and optional properties for a frame including corner radius.
framesNoAn array of frame configuration objects. Each object should include coordinates, dimensions, and optional properties for a frame including corner radius.

Latest Blog Posts

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