get_file_images
Pack: figma · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_file_images for the schema, then POST the same URL with its arguments for the data.
Render images of specific nodes in a Figma design file. Returns a map of node id to a rendered image URL. Use to get visual previews (PNG, SVG, or JPG) of frames, components, or layers from a design.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file_key | string | yes | The Figma file key (the segment after /file/ or /design/ in a Figma URL). |
node_ids | string | yes | Comma-separated list of node ids to render (e.g. “1:2,1:3”). |
format | string | no | Image output format (default “png”). |
scale | number | no | Image scale factor, 0.01–4 (default 1). |
Example call
Arguments
{
"file_key": "abc123xyz",
"node_ids": "1:2,1:3"
}
curl
curl -X POST https://gateway.pipeworx.io/figma/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_file_images","arguments":{"file_key":"abc123xyz","node_ids":"1:2,1:3"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_file_images', {
"file_key": "abc123xyz",
"node_ids": "1:2,1:3"
});
More examples
{
"file_key": "abc123xyz",
"node_ids": "1:2,1:3",
"format": "svg",
"scale": 2
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the figma pack
{
"mcpServers": {
"figma": {
"url": "https://gateway.pipeworx.io/figma/mcp"
}
}
}
See Getting Started for client-specific install steps.