Save screenshots
figma_save_screenshotsRender multiple Figma nodes to image files and return their paths, so agents can hand users screenshots without loading image data into context.
Instructions
Render several nodes to image files and return their paths — cheaper for your context than returning image data, and the way to hand a user a set of screenshots. The plugin renders; the bridge writes, so paths follow the same rules as figma_export_node's saveTo (relative lands in the export directory, other folders must be in BRIDGE_EXPORT_ROOTS). One node failing does not lose the others: the result carries failed[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Directory for the files. Defaults to the export directory. | |
| scale | No | Raster scale, default 2. Ignored for SVG. | |
| format | No | Default PNG. | |
| nodeIds | Yes | Nodes to render. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. |