create_vector_from_svg
Create fully editable vector nodes on a Figma canvas from SVG strings, including paths, shapes, and groups.
Instructions
Place a fully editable vector node on the Figma canvas from an SVG string. Supports any valid SVG including paths, polylines, polygons, circles, and groups. The created node is fully editable in Figma.
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": "create_vector_from_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| svg | Yes | Complete SVG string including <svg> wrapper | |
| name | No | Layer name | |
| parentId | No | Parent frame/group node ID |