Get Icon
get_iconRetrieve one exact SVG icon using an exact ref returned by search_icons, recommend_icons, or preview_icons. Do not guess icon IDs. Use search_icons first if the user only described a concept. Returns SVG code, explicit public library labels, visual preview URL, and public semantic guidance for the exact icon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Exact icon ID without the library prefix, for example "database", "user-circle", "brain-circuit", or "arrow-down". | |
| style | No | Optional style preference. Material Symbols supports outline and solid. Other hosted libraries report their verified styles in list_libraries. | any |
| library | Yes | Required library key for the exact icon. Supported values include si (Supericons AI and developer tool logos), lucide, tabler, phosphor, heroicons, bootstrap, iconoir, ionicons, material, simpleicons (Simple Icons brand logos), and mingcute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Stable error code when the exact icon is unavailable. | |
| hint | No | Plain-language explanation of how to recover. | |
| icon | No | Exact matching icon when found. | |
| error | No | Recoverable error message when no exact icon is found. | |
| next_step | No | Recommended next tool action. | |
| retryable | No | Whether repeating the same exact lookup may succeed. |