export_node_assets
Export real assets from a Figma node: image binaries, true-geometry SVG, and PNG. Returns absolute paths to the written files.
Instructions
Export REAL assets for one node: image binaries from the .fig store, true-geometry node.svg (baked fillGeometry/strokeGeometry), and node.png. Returns list of written absolute paths only — open those files; never invent SVG paths.
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": {
"filePath": "<filePath>",
"nodeId": "<nodeId>",
"outputDir": "<outputDir>"
},
"name": "export_node_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | GUID sessionID:localID | |
| filePath | Yes | Path to the .fig file | |
| writePng | No | Write node.png (default true) | |
| writeSvg | No | Write node.svg true geometry (default true) | |
| outputDir | Yes | Directory to write assets into |