figma_screenshot
Capture PNG screenshots of specific Figma nodes or the current selection to inspect layout, contrast, typography, and spacing during visual review.
Instructions
Capture PNG screenshots of specific nodes or the current selection in Figma, to check layout, contrast, typography and spacing. Each image costs ~1k tokens at the default max_px, and stays in context: check mechanical things through write-call warnings or bridge.check first, and take one screenshot per finished stage rather than after every edit. Right after a figma_execute_code edit, put capture_node_ids on that call instead — this tool is then an extra turn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Export resolution scale factor (default: 1). | |
| max_px | No | Longest side of each image in px (default: 1024). Raise only to read fine detail; crop with node_ids instead where possible. | |
| target | No | fileName of a specific connected Figma document, when more than one is open (see figma_list_targets). | |
| node_ids | No | Optional comma-separated list of Figma node IDs to screenshot (e.g. '123:456, 123:457'). If omitted, captures current selection or entire page. | |
| description | No | Optional action description for Figma toast and logs. |