figma_get_component_image
Screenshot any Figma node (component/frame) as a base64 image. Configure format, scale, and JPEG quality, and target a specific file using fileKey or Figma URL.
Instructions
Get screenshot of a node (component/frame). Returns base64 image. Defaults to JPG@1x q70 (v1.8.0 context-safe). Use fileKey or figmaUrl to target a specific file when multiple plugins are connected.
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": {
"nodeId": "<nodeId>"
},
"name": "figma_get_component_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| format | No | JPG | |
| nodeId | Yes | ||
| fileKey | No | Target a specific connected file. | |
| figmaUrl | No | Figma file URL for routing. | |
| jpegQuality | No |