download_assets
Export a Figma node’s render, original fill images, and vector SVGs. Set format and scale to retrieve assets for design-to-code workflows.
Instructions
Download assets for a single node: an exported render (export), the original images used as fills (rawImages, up to 20) and SVGs of the vector layers (svgAssets, up to 20). defaultFormat and defaultScale set the export format (png, jpg, svg, pdf) and scale (default png at 1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | The ID of the node, eg. "123:456" or "123-456" (instance ids like "I1:2;3:4" work too). Omit it to use the current selection in Figma. | |
| fileKey | No | The key of the Figma file. Accepted for compatibility; the file open in Figma Desktop is always used. | |
| defaultScale | No | ||
| defaultFormat | No |