Create Node from SVG
create_svgCreate a node in Figma from an SVG markup string, specifying parent node and optional position.
Instructions
Create a node from an SVG markup string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position | |
| y | No | Y position | |
| svg | Yes | The SVG XML string | |
| name | No | Name for the new node | |
| parentId | Yes | Parent ID to append to | |
| parentNodeName | No | Parent Name to verify against |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the created node | |
| name | Yes | Name of the created node |