Create Node from SVG
create_svgInsert SVG markup as a new node into a Figma design, specifying parent and 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 | Optional non-empty name for the new node | |
| parentId | Yes | Parent ID to append to | |
| parentNodeName | Yes | The parent node's current exact name, passed back verbatim from `node_info`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the created node | |
| name | No | Name of the created node | |
| error | No | ||
| parentId | No | ID of the parent the node was placed into — confirm containment without a follow-up read |