figma_screenshot
Capture a Figma node as a PNG screenshot and view it; with no node ID, the first selected or top-level node is used, and the file is saved to disk with its path returned.
Instructions
Export a node as PNG and show it. With no node_id it uses the first selected node, else the first top-level node of the page. The PNG is also saved to disk and its path returned.
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": "figma_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | default 1; keep the image under 8000 px a side | |
| node_id | No | ||
| save_to | No |