design_create_symbol
Creates custom SVG symbols from AI-generated path data, validates syntax and a 10KB size limit, then caches them in the sketch file for use with drawSymbol().
Instructions
Create a custom AI-generated symbol with SVG path data. Validates path syntax and enforces a 10KB size limit. Caches it in the sketch file for use with drawSymbol().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Symbol ID (kebab-case, auto-generated from name if omitted) | |
| name | Yes | Human-readable symbol name (e.g. 'Weeping Willow') | |
| tags | Yes | Search tags (e.g. ['tree', 'weeping', 'willow', 'nature']) | |
| paths | Yes | Array of SVG path objects | |
| style | Yes | Visual style of these paths | |
| viewBox | Yes | SVG viewBox (e.g. '0 0 100 100') | |
| category | Yes | Symbol category | |
| description | Yes | Short description of the symbol |