figma_create_image
Create rectangle or SVG image nodes in Figma from local image files with precise position and size; remote URLs are not supported.
Instructions
从本机图片文件创建矩形或 SVG 节点。不支持远程 URL。色块不能当成已经插图。
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": {
"imagePath": "<imagePath>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "figma_create_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | No | ||
| width | Yes | ||
| height | Yes | ||
| parentId | No | ||
| imagePath | Yes | ||
| scaleMode | No | ||
| cornerRadius | No |