generate_icon
Fetch an icon from Iconify's 200k+ collection and render locally as SVG or PNG. Customize size, color, and format.
Instructions
Fetch and render a vector icon / logo / symbol / favicon (图标/logo/符号) from Iconify — 200k+ icons. Renders to SVG/PNG locally. Needs network (Iconify API); cached after first fetch. Browse at https://icon-sets.iconify.design. No AI. Multilingual triggers: アイコン · icono · icône · Symbol · значок · ícone (ja/es/fr/de/ru/pt).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | Yes | Iconify icon ID, format: SET:NAME. Common sets: mdi (Material Design), lucide (Lucide), logos (brand logos), fa-solid / fa-brands (Font Awesome). Examples: mdi:home, lucide:gem, logos:github, fa-brands:twitter. Browse all at https://icon-sets.iconify.design | |
| name | No | Output filename (without extension); defaults to sanitized icon ID | |
| size | No | Pixel size (square), default 128 | |
| color | No | Foreground color (default currentColor; PNG defaults to black) | |
| format | No | svg | |
| outDir | No | Output directory, default session-dir/output |