get_svg
Export a single Figma node as an SVG string, including all nested children. Returns the SVG markup for use in code or design workflows.
Instructions
Export a single node as an SVG string from Figma. Returns the SVG markup including all nested children.
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": {
"nodeId": "<nodeId>"
},
"name": "get_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to export as SVG |