Talk to Figma MCP

by sonnylazuardi
Verified

create_rectangle

Generate a rectangle in Figma by specifying dimensions, position, and optional attributes like name or parent node, using the MCP server for programmatic design updates.

Instructions

Create a new rectangle in Figma

Input Schema

NameRequiredDescriptionDefault
heightYesHeight of the rectangle
nameNoOptional name for the rectangle
parentIdNoOptional parent node ID to append the rectangle to
widthYesWidth of the rectangle
xYesX position
yYesY position

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "height": { "description": "Height of the rectangle", "type": "number" }, "name": { "description": "Optional name for the rectangle", "type": "string" }, "parentId": { "description": "Optional parent node ID to append the rectangle to", "type": "string" }, "width": { "description": "Width of the rectangle", "type": "number" }, "x": { "description": "X position", "type": "number" }, "y": { "description": "Y position", "type": "number" } }, "required": [ "x", "y", "width", "height" ], "type": "object" }

You must be authenticated.

Other Tools from Talk to Figma MCP

Related Tools

ID: 640obyv4vw