get_screenshot
Capture a PNG screenshot of a Figma node to visually verify style changes. Specify node ID and optional scale (0.5–2) for higher resolution.
Instructions
Capture a PNG screenshot of a node.
Use after style changes to visually verify the result instead of reading properties back. Returns base64 PNG data embedded in the response.
Parameters: node: Node ID from jsx/inspect results (e.g. "100:5"). Page root ("/") is not supported. scale: Export scale 0.5–2 (default 1). Higher = larger file. padding: Reserved for future use — currently ignored.
Examples: get_screenshot({node: "100:5"}) → PNG at 1x get_screenshot({node: "100:5", scale: 2}) → PNG at 2x (sharper)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node": "<node>"
},
"name": "get_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node ID (e.g. "100:5"). Page root "/" is not supported. | |
| scale | No | Export scale 0.5–2 (default 1). | |
| padding | No | Reserved for future use. |