Export Node Image
node_export_visualExport a Figma node to an image format (PNG, JPG, SVG, or PDF) at a specified scale for visual inspection or verification of edits.
Instructions
Render a node to an image (PNG/JPG/SVG/PDF) at a given scale. Read-only; the canonical way to visually verify edits. SVG returns raw XML in svg (directly readable); PNG/JPG/PDF return base64 in imageData (PDF is a delivery artifact — prefer PNG/SVG for inspection).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to export | |
| format | No | Export format | PNG |
| scale | No | Export scale (e.g. 1, 2, 0.5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ID of the exported node | |
| format | No | Image format | |
| scale | No | Export scale used | |
| mimeType | No | MIME type of the exported image | |
| imageData | No | Base64-encoded binary data (PNG/JPG/PDF) | |
| svg | No | Raw SVG XML markup (returned instead of imageData when format=SVG) |