Skip to main content
Glama

create_ellipse

Generate ellipse nodes in a Figma document with specified coordinates, dimensions, and optional styling. Supports single or multiple ellipses, parent node assignment, and returns created node IDs.

Instructions

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

Returns:

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

Input Schema

NameRequiredDescriptionDefault
ellipseNoA single ellipse configuration object. Each object should include coordinates, dimensions, and optional properties for an ellipse.
ellipsesNoAn array of ellipse configuration objects. Each object should include coordinates, dimensions, and optional properties for an ellipse.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "ellipse": { "additionalProperties": false, "description": "A single ellipse configuration object. Each object should include coordinates, dimensions, and optional properties for an ellipse.", "properties": { "fillColor": { "description": "Fill color for the ellipse." }, "height": { "description": "Height in pixels. Example: 90", "type": "number" }, "name": { "description": "Name for the ellipse node. Example: 'Ellipse1'", "type": "string" }, "parentId": { "description": "Figma node ID of the parent.", "type": "string" }, "strokeColor": { "description": "Stroke color for the ellipse." }, "strokeWeight": { "description": "Stroke weight for the ellipse.", "type": "number" }, "width": { "description": "Width in pixels. Example: 120", "type": "number" }, "x": { "description": "X coordinate for the top-left corner. Example: 60", "type": "number" }, "y": { "description": "Y coordinate for the top-left corner. Example: 80", "type": "number" } }, "required": [ "x", "y", "width", "height" ], "type": "object" }, "ellipses": { "description": "An array of ellipse configuration objects. Each object should include coordinates, dimensions, and optional properties for an ellipse.", "items": { "additionalProperties": false, "properties": { "fillColor": { "$ref": "#/properties/ellipse/properties/fillColor" }, "height": { "$ref": "#/properties/ellipse/properties/height" }, "name": { "$ref": "#/properties/ellipse/properties/name" }, "parentId": { "$ref": "#/properties/ellipse/properties/parentId" }, "strokeColor": { "$ref": "#/properties/ellipse/properties/strokeColor" }, "strokeWeight": { "$ref": "#/properties/ellipse/properties/strokeWeight" }, "width": { "$ref": "#/properties/ellipse/properties/width" }, "x": { "$ref": "#/properties/ellipse/properties/x" }, "y": { "$ref": "#/properties/ellipse/properties/y" } }, "required": [ "x", "y", "width", "height" ], "type": "object" }, "type": "array" } }, "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