Get a Tabler icon
get_iconFetch a specific Tabler icon as SVG, React, Vue, Svelte, webfont class, or data URI, with optional size, color, and stroke adjustments.
Instructions
Get a Tabler icon by exact name in the requested format: raw SVG (customizable size/stroke/color), React, Vue, Svelte, webfont class, or data URI.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "get_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact icon name, e.g. 'heart', 'shopping-cart' (find names with search_icons) | |
| size | No | Size in px (default 24) | |
| color | No | CSS color to replace currentColor, e.g. '#d63939' or 'var(--tblr-primary)' | |
| style | No | Icon style (default: outline) | |
| format | No | Output format (default: svg) | |
| strokeWidth | No | Stroke width for outline style (default 2) |