export_as_png
Export any Figma node as a PNG image by providing its node ID. Specify an optional scale factor to control resolution for downloads or sharing.
Instructions
Export a node as PNG.
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_as_png"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor (default: 2) | |
| nodeId | Yes | Node to export |