Get icon
get_iconFetch an icon's raw SVG markup by exact name from Lucide (UI icons) or Simple Icons (brand logos). Search for the correct icon name/set first if unknown.
Instructions
Fetch one icon's raw SVG markup by exact name from lucide (generic UI icons) or simple-icons (brand logos). Use search_icons first if the exact name/set isn't already known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | Yes | Which icon set `name` belongs to. | |
| name | Yes | Exact icon identifier: lucide kebab-case name (e.g. 'wrench') or simple-icons slug/title (e.g. 'github', 'GitHub'). | |
| size | No | Width/height in px (square). Default: the set's own size. | |
| color | No | CSS color (hex, 'currentColor', …). lucide defaults to currentColor already; simple-icons defaults to its official brand hex when set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hex | No | Official brand color (simple-icons only). | |
| set | Yes | ||
| svg | Yes | Raw <svg>…</svg> markup, ready to inline. | |
| name | Yes | ||
| title | Yes |