figma_screenshot
Render a Figma node as a PNG image from the live browser file, returning it downscaled to a specified size. Use this to capture design elements without touching the system clipboard.
Instructions
Render a node to PNG using Figma's own 'Copy as PNG' in the browser (the system clipboard is not touched). Uses the live file, not the snapshot. Returns the image, downscaled to max_dimension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | A Figma file key or figma.com/design/... URL (a node-id in the URL is used when node_id is omitted). The image always comes from the live file in the browser, so a local .fig path works only if its name carries the key ('<name> [<key>].fig'), and is read only to tell whether node_id is a page. | |
| node_id | No | ||
| save_path | No | Also save the PNG (at returned size) to this path | |
| max_dimension | No | Longest side in px of the returned image (default 1568) |