create_svg
Converts an SVG markup string into editable vector nodes in Figma, enabling placement, sizing, and positioning within a chosen frame or channel.
Instructions
Create vector nodes from an SVG markup string.
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_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| svg | Yes | Valid SVG markup string | |
| name | No | ||
| width | No | ||
| height | No | ||
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open | |
| parentId | No |