Skip to main content
Glama

create_component_instance

Generate and position component instances on Figma canvas individually or in bulk. Specify component keys and coordinates to streamline design workflows within Conduit.

Instructions

Creates one or more component instances in Figma. Accepts either a single entry (via 'entry') or an array of entries (via 'entries').

Returns:

  • content: Array of objects. Each object contains a type: "text" and a text field with the created instance IDs.

Input Schema

NameRequiredDescriptionDefault
entriesNoAn array of component instance creation entries for batch creation.
entryNoA single component instance creation entry.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "entries": { "description": "An array of component instance creation entries for batch creation.", "items": { "$ref": "#/properties/entry" }, "type": "array" }, "entry": { "additionalProperties": false, "description": "A single component instance creation entry.", "properties": { "componentKey": { "description": "The unique key of the component to instantiate.", "maxLength": 100, "minLength": 1, "type": "string" }, "x": { "description": "The X coordinate for the instance on the Figma canvas.", "maximum": 10000, "minimum": -10000, "type": "number" }, "y": { "description": "The Y coordinate for the instance on the Figma canvas.", "maximum": 10000, "minimum": -10000, "type": "number" } }, "required": [ "componentKey", "x", "y" ], "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