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
Name | Required | Description | Default |
---|---|---|---|
format | No | Optional. The image format to export: "PNG", "JPG", "SVG", or "PDF". Defaults to "PNG" if omitted. | |
nodeId | Yes | 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'. | |
scale | No | Optional. The export scale factor. Must be a positive number. Defaults to 1 if omitted. |