export_node
Render a Figma node through the local Plugin API as a PNG image or SVG text for design handoff, with PNG limited to 4096px per side and 8 MiB.
Instructions
Export a node through the local Plugin API as PNG image or SVG text. PNG output is limited to 4096 pixels per side and 8 MiB.
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_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| format | No | PNG | |
| nodeId | Yes |