export_image
Exports a Figma node as PNG, SVG, JPG, or PDF at a chosen scale, returning base64 data for download or further processing.
Instructions
Export a Figma node as PNG, SVG, JPG, or PDF (returns base64 data).
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": "export_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Export scale (default 2) | |
| format | No | Export format (default PNG) | |
| nodeId | Yes | Node ID to export | |
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open |