figma_capture_screenshot
Captures a Figma node's current runtime state as an AI-ready screenshot, enabling immediate validation of applied design changes.
Instructions
Capture a screenshot of a node using the plugin's exportAsync API. IMPORTANT: This tool captures the CURRENT state from the plugin runtime (not cloud state like REST API), making it reliable for validating changes immediately after making them. Use this instead of figma_get_component_image when you need to verify that changes were applied correctly. Defaults are AI-optimized: PNG at 1x with automatic downscaling so the longest side stays within the 1568px AI vision processing ceiling. PNG is the default because design tool content (flat colors, text, UI components) compresses significantly better as PNG. Use JPG for photographic or gradient-heavy content. Requires Desktop Bridge connection (Figma Desktop with plugin running).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | Scale factor (default: 1). The plugin automatically caps the effective scale so the exported image does not exceed 1568px on its longest side (the AI vision processing ceiling). | |
| format | No | Image format (default: PNG). Use JPG for photographic or gradient-heavy content. | PNG |
| nodeId | No | ID of the node to capture (e.g., '1:234'). If not provided, captures the current page. |