Get icon SVG
get_iconFetch a ready-to-use icon SVG by prefix and name (e.g. ph:house, feather:home), with optional size and color, for direct insertion into code.
Instructions
Returns a ready-to-use icon SVG, e.g. ph:house, hugeicons:home-01, feather:home, pixelarticons:home.
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 | prefix:name | |
| size | No | Height in px; default 1em | |
| color | No | Color, e.g. #111827 (default currentColor) |