Figma frame image
figma_frame_imageRender one Figma frame (or any node) to a PNG so you can look at the design. Pass the Figma link that includes node-id (right-click the frame in Figma → Copy link), or file_key + node_id. Optional width resizes the PNG to a target pixel width (e.g. the width of a device screenshot you want to compare against; max 2000); scale (0.5–4, default 2) controls how sharp Figma renders it. Returns the image plus one text line with the frame name, original size and returned size. Uses the calling user's stored Figma token; returns an actionable error if Figma is not configured. TIP: compare by eye against a device screenshot — a pixel diff against a mockup is not meaningful.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Figma link to the frame, including node-id (figma.com/design/<key>/...?node-id=12-34). | |
| scale | No | Render scale, 0.5–4 (default 2). | |
| width | No | Resize the PNG to this pixel width (100–2000), keeping aspect ratio. | |
| node_id | No | Node id, "12:34" or "12-34". Needed with file_key. | |
| file_key | No | Figma file key, when not passing url. |