Get Icons
get_iconsGet SVG code and dimensions for specific icons. Input icon names in prefix:name format (e.g., "mdi:home", "fa:star"). Returns SVG markup, width, and height.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"icons": "home,arrow-left,user",
"prefix": "mdi"
},
"name": "get_icons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icons | Yes | Comma-separated icon names within the collection (e.g., "home,arrow-left,user") | |
| prefix | Yes | Collection prefix (e.g., "mdi", "fa", "heroicons", "lucide") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icons | Yes | Array of icon objects with SVG data and dimensions | |
| prefix | Yes | Collection prefix (e.g., mdi, fa, heroicons) |