figma_export_image_fills
Export original image fills and strokes from a Figma node or file to a directory. Returns each image's hash, saved path, size, and layers using it, flagging missing assets.
Instructions
Write the original image assets (photos, bitmaps) a node or the whole file uses, in a fill or a stroke paint, to a directory. Answers with an array, one entry per distinct image: hash, the path written, its size in bytes, and up to five of the layers using it (with usedByTotal when there are more). An image whose bytes this export does not carry is reported as {hash, missing: true} and nothing is written for it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | A local .fig path, a Figma file key or a figma.com/design/... URL (see the server's instructions, or figma-reader help) | |
| node_id | No | ||
| out_dir | Yes | Directory to write the images into, created if it is missing. A relative path is resolved against this process's working directory, which for an MCP server is wherever the client started it | |
| refresh | No | Export the live file again rather than read a local or cached copy (see the server's instructions, or figma-reader help) |