set_svg_vector
Inserts or updates SVG vectors in Figma by providing SVG content, coordinates, and optional attributes. Supports single or batch configurations via raw text or URLs, returning node IDs for inserted vectors.
Instructions
Sets or inserts one or more SVG vectors in Figma. Accepts either a single SVG config (via 'svg') or an array of configs (via 'svgs').
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the inserted SVG vector node ID(s).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
svg | No | A single SVG vector configuration. Optional. | |
svgs | No | An array of SVG vector configurations for batch insertion. Optional. |