get_icon
Retrieve a specific icon by name and get ready-to-use SVG content. Supports Iconify prefix:name format for quick access.
Instructions
Get a specific icon by name. For Iconify, use "prefix:name" format (e.g., "mdi:home", "lucide:settings", "simple-icons:github"). Returns SVG content ready for use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Icon name. For iconify: "prefix:name" (e.g., "mdi:home", "lucide:user", "heroicons:cog-6-tooth") | |
| size | No | Icon size in pixels | |
| color | No | Icon color as hex (e.g., "#ff0000", "#000000") | |
| format | No | svg | |
| library | No | Icon library. Use "iconify" (recommended) or legacy: "fontawesome", "material", "heroicons" | iconify |
| optimize | No | Enable SVG optimization to reduce file size |