Export Node Image
node_export_visualExport a Figma node to PNG, JPG, SVG, or PDF at a specified scale to visually verify 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 |
|---|---|---|---|
| scale | No | Export scale, between 0.1 and 4.0 (e.g. 1, 2, 0.5) | |
| format | No | Export format | PNG |
| nodeId | Yes | The ID of the node to export |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | Raw SVG XML markup (returned instead of imageData when format=SVG) | |
| scale | No | Export scale used | |
| format | No | Image format | |
| nodeId | No | ID of the exported node | |
| mimeType | No | MIME type of the exported image | |
| imageData | No | Base64-encoded binary data (PNG/JPG/PDF) |