Import SVG as layers
figma_create_from_svgCreates vector layers in Figma from SVG markup, converting icons or illustrations into editable design elements.
Instructions
Creates vector layers from SVG markup (icons, illustrations).
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": {
"svg": "<svg>"
},
"name": "figma_create_from_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| svg | Yes | ||
| url | No | Figma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file. | |
| name | No | ||
| parent_id | No | Parent frame/group/page id; defaults to the current page |