get_screenshot
Renders a Figma node to an image (PNG, JPG, SVG, or PDF) with scale from 0.01 to 4. Returns base64 inline or saves to disk.
Instructions
Render a Figma node to an image via GET /v1/images/:fileKey (scale 0.01–4, png|jpg|svg|pdf). Returns the image inline (base64) and/or saves it to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full figma.com URL (design/file/proto). node-id query param is honored. | |
| scale | No | ||
| format | No | png | |
| inline | No | Return the image inline as base64 (default true). | |
| nodeId | Yes | Node id to render, "1:2" or "1-2" form (or via url node-id). | |
| fileKey | No | Figma file key (from the file URL). Provide either fileKey or url. | |
| savePath | No | Optional file path to save the render to. |