get_screenshot
Render the selected Figma node as an inline PNG, JPG, or SVG image for visual inspection, automatically scaling it to stay within a set pixel limit.
Instructions
Render a node as an image and return it inline. nodeId defaults to the first selected node. PNG/JPG come back as an image plus a text line 'name (id) w×h'; SVG comes back as SVG markup text. PDF cannot be shown inline — use save_screenshots to write it to disk. The scale is lowered automatically so the longest side stays ≤ maxDimension (default 4096 px).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| scale | No | 0.1–4, default 1 (PNG/JPG only) | |
| format | No | Default PNG | |
| nodeId | No | Node id; default the first selected node | |
| maxDimension | No | Max longest side in px (default 4096) | |
| useAbsoluteBounds | No | Export the node's full bounds (ignore effects/clipping overflow, keep cropped text) |