mcp__getDesignSvgs
Retrieve cached SVG HTML strings for icons by providing a file ID and layer ID or a short link. Insert the SVG HTML directly into HTML to display icons.
Instructions
After fetching ALL sections via mcp__getDesignSections, call this tool to retrieve all cached SVG HTML strings. Each PATH node in the DSL has an id. Look up that id in the returned svgs map to get the complete SVG string. Insert the svgHtml string directly into HTML where icons should appear.
You can provide either:
fileId and layerId directly, or
a short link (like https://{domain}/goto/LhGgBAK)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | No | MasterGo design file ID. Required if shortLink is not provided. | |
| format | No | Output format for design data. Defaults to json. - json — default; useful when piping output into tools that expect JSON. - yaml — fewer tokens than JSON for typical designs. - tree — experimental compact format. Structural keys (id, name, type) are encoded positionally on each node line, and style values stay deduplicated in a globalVars block. Designs with heavy style reuse see the largest token savings. | |
| layerId | No | Root layer ID of the design. Required if shortLink is not provided. | |
| shortLink | No | Short link (like https://{domain}/goto/LhGgBAK). | |
| sourceLayerId | No | Source layer ID from URL parameter source_layer_id. When provided, use this instead of layerId for all queries. |