Export Node Image
node_export_visualRender a Figma node as an image (PNG, JPG, SVG, or PDF) at a chosen scale to visually verify your modifications.
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodeId": "<nodeId>"
},
"name": "node_export_visual"
}
}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) | |
| error | No | ||
| 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) |