download_assets
Batch-export Figma nodes and image fills as PNG, JPG, SVG, or PDF files, saving them locally with a download manifest.
Instructions
Batch-export nodes as files (up to N ids, chunked) plus raw image fills from GET /v1/files/:key/images. Saves everything into a directory and returns a manifest. Temp Figma URLs are downloaded immediately and cached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full figma.com URL (design/file/proto). node-id query param is honored. | |
| scale | No | ||
| format | No | png | |
| nodeId | No | Node id, "1:2" or "1-2" form. Overrides node-id in url. | |
| outDir | No | Output directory (default ~/.figmingo/assets/<fileKey>). | |
| fileKey | No | Figma file key (from the file URL). Provide either fileKey or url. | |
| nodeIds | No | Node ids to export. Omit to only download image fills. | |
| maxBytesPerFile | No | Skip files larger than this many bytes. | |
| includeImageFills | No |