mcp-figma

get_image

Get images for nodes in a Figma file

Input Schema

NameRequiredDescriptionDefault
fileKeyYesThe key of the file to get images from
formatNoOptional. Image format
idsYesArray of node IDs to render
scaleNoOptional. Scale factor to render at (0.01-4)
svg_include_idNoOptional. Include IDs in SVG output
svg_simplify_strokeNoOptional. Simplify strokes in SVG output
use_absolute_boundsNoOptional. Use absolute bounds

Input Schema (JSON Schema)

{ "properties": { "fileKey": { "description": "The key of the file to get images from", "type": "string" }, "format": { "description": "Optional. Image format", "enum": [ "jpg", "png", "svg", "pdf" ], "type": "string" }, "ids": { "description": "Array of node IDs to render", "items": { "type": "string" }, "type": "array" }, "scale": { "description": "Optional. Scale factor to render at (0.01-4)", "type": "number" }, "svg_include_id": { "description": "Optional. Include IDs in SVG output", "type": "boolean" }, "svg_simplify_stroke": { "description": "Optional. Simplify strokes in SVG output", "type": "boolean" }, "use_absolute_bounds": { "description": "Optional. Use absolute bounds", "type": "boolean" } }, "required": [ "fileKey", "ids" ], "type": "object" }