get_svg_vector
Extract SVG markup from one or more Figma vector nodes using node ID or IDs. Ideal for retrieving scalable vector graphics for design workflows or real-time exports.
Instructions
Get SVG markup for one or more vector nodes.
Returns:
Array of { nodeId, svg } objects, one per node.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
nodeId | No | The unique Figma node ID to extract SVG from. Provide either nodeId or nodeIds, not both. | |
nodeIds | No | An array of Figma node IDs to extract SVG from. Provide either nodeId or nodeIds, not both. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"nodeId": {
"description": "The unique Figma node ID to extract SVG from. Provide either nodeId or nodeIds, not both.",
"type": "string"
},
"nodeIds": {
"description": "An array of Figma node IDs to extract SVG from. Provide either nodeId or nodeIds, not both.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}