fetch_figma_node_image
Extract PNG images from Figma designs by specifying file key and node ID, returning base64-encoded visual elements for integration or analysis.
Instructions
Fetches a PNG image of a Figma node or frame using the file key and node ID. Returns the image as base64.
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": {
"fileKey": "<fileKey>",
"nodeId": "<nodeId>"
},
"name": "fetch_figma_node_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | Yes | The key of the Figma file to fetch, Can be found in a provided URL like `figma.com/(file|design)/<fileKey>/... | |
| nodeId | Yes | The ID of the node to fetch, can be found as URL parameter like `node-id=<nodeId>`, Must use if provided. |