figma_place_image
Place a local image file into a Figma node as an image fill. Automatically downscales large images and converts unsupported formats to PNG.
Instructions
Put a local image file into a node as an image fill. Any format the browser decodes (PNG, JPG, WebP, GIF, BMP, AVIF...): images over 4096px per side are downscaled automatically in the plugin UI and non-native formats are converted to PNG. The result reports what was done (prepared).
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": {
"filePath": "<filePath>",
"nodeId": "<nodeId>"
},
"name": "figma_place_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node that receives the image fill. | |
| maxSide | No | Downscale so the longest side is at most this many pixels (default 4096, the Figma limit). | |
| filePath | Yes | Absolute path to an image on this machine. | |
| scaleMode | No | Default FILL. |