get_screenshot
Export Figma nodes as PNG, JPG, or SVG images. Automatically fits each node to a legible size or applies a custom scale. Recovers nodes clipped or off-canvas.
Instructions
Export nodes as images the model can see, one image block per node: { images: [{ nodeId, format, base64, width?, height?, scale?, recovered?, empty? }] }. format is PNG (default) / JPG / SVG. scale applies to raster formats; when omitted, each node is auto-fitted to a legible size (long edge into ~512–1536px: oversized frames scale down, tiny icons scale up ≤4x) — pass an explicit scale to force one. Each raster label reports the exported width×height px and the scale, the anchor for mapping raster px back to design px. base64 is null for missing or non-exportable nodes. Nodes that are fully clipped or off-canvas (carousels, masks, off-screen states) are auto-recovered at their intrinsic bounds and flagged recovered:true. empty:true means the node genuinely renders nothing even unclipped (hidden / no content) so the export is blank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Raster scale factor (PNG/JPG); omit to auto-fit each node to a legible size | |
| format | No | Export format: PNG (default) / JPG / SVG | |
| nodeIds | Yes | Figma node ids to export |