export_assets
Batch export icons and images from a Figma node tree as SVG, PNG, or PDF with adjustable scale.
Instructions
Batch export all exportable assets (icons, images) from a node tree.
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_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor (default: 1) | |
| format | No | Export format (default: svg) | |
| nodeId | Yes | Root node |