figma_screenshot
Render a Figma node to PNG from the live browser file, not a snapshot. Downscale to a max dimension, optionally save it, and return the image plus rendering account.
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, and a note that ends with the Figma account it was rendered through.
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) |