Skip to main content
Glama

export_node_as_image

Export a specified Figma node as an image in PNG, JPG, SVG, or PDF format with customizable scale, enabling efficient design asset extraction.

Instructions

Exports a node as an image from Figma in the specified format and scale.

Returns:

  • content: Array of objects. Each object contains type: "image", data (image data), and mimeType (image mime type).

Input Schema

NameRequiredDescriptionDefault
formatNoOptional. The image format to export: "PNG", "JPG", "SVG", or "PDF". Defaults to "PNG" if omitted.
nodeIdYesThe unique Figma node ID to export. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'.
scaleNoOptional. The export scale factor. Must be a positive number. Defaults to 1 if omitted.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "format": { "description": "Optional. The image format to export: \"PNG\", \"JPG\", \"SVG\", or \"PDF\". Defaults to \"PNG\" if omitted.", "enum": [ "PNG", "JPG", "SVG", "PDF" ], "type": "string" }, "nodeId": { "description": "The unique Figma node ID to export. Must be a string in the format '123:456' or a complex instance ID like 'I422:10713;1082:2236'.", "type": "string" }, "scale": { "description": "Optional. The export scale factor. Must be a positive number. Defaults to 1 if omitted.", "exclusiveMinimum": 0, "type": "number" } }, "required": [ "nodeId" ], "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