asset_save_inline_svg
Saves an inline SVG as a complete asset bundle including master.svg, favicons, PWA icons, and app icon sets for multiple platforms, with validation against the original svg_brief.
Instructions
Round-trip endpoint for inline_svg mode. After you (the LLM) emit the … in chat, immediately call this tool with that SVG text so the server writes a complete asset bundle to disk: master.svg + (for favicon) icon.svg + icon-dark.svg + favicon-{16,32,48}.png + favicon.ico + apple-touch-icon.png (opaque) + pwa-192.png + pwa-512.png + pwa-512-maskable.png + manifest.webmanifest + head-snippet.html + (for app_icon) the full iOS AppIconSet + Android adaptive (foreground+background+monochrome) + PWA maskable + visionOS. Returns an AssetBundle with file paths the user can open. Validates the SVG against the original svg_brief (viewBox, path count, palette, forbidden elements).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | Yes | The full <svg>...</svg> text you just emitted in chat. | |
| asset_type | Yes | ||
| brand_bundle | No | ||
| expected_text | No | ||
| platforms | No | For asset_type=app_icon. Defaults to ['all']. | |
| dark_mode | No | For asset_type=favicon: also emit icon-dark.svg (prefers-color-scheme: dark). Default true. | |
| app_name | No | For asset_type=favicon: name/short_name written into manifest.webmanifest. | |
| theme_color | No | For asset_type=favicon: theme_color hex for manifest + <meta>. | |
| background_color | No | For asset_type=favicon: PWA splash background_color hex. | |
| output_dir | No |