figma_import_image
figma_import_imageCreates a rectangle in Figma filled with a base64 image, enabling direct image import into the live design file.
Instructions
Create a rectangle filled with a base64 image.
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": {
"imageData": "<imageData>"
},
"name": "figma_import_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| width | No | ||
| height | No | ||
| parentId | No | ||
| imageData | Yes | ||
| scaleMode | No | ||
| screenKey | No |