get_screenshot
Render any Figma node as a PNG and receive a temporary CDN URL with a curl command to download it.
Instructions
Do what: Renders a PNG screenshot of any node and returns a short-lived CDN URL + curl download command. Expected output: { url (string CDN URL), curl (string), metadata: { width, height, original_width, original_height } }. IMPORTANT: Both fileKey and nodeId are REQUIRED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target node ID e.g. "35:14". | |
| fileKey | Yes | Figma file key. | |
| contentsOnly | No | Render node in isolation, excluding overlapping content. | |
| maxDimension | No | Max pixel size of the longer edge. | |
| enableBase64Response | No | Include inline base64 image in addition to URL. |