Get icon SVG code
get_icon_svgReturns the full SVG source of one Glyfiq icon as a single text content block. Requires the exact icon name returned by search_icons. Free icons work without a key. Premium icons require a valid license: if the license_key parameter is omitted, the key configured on the server (connector URL or Authorization header) is used automatically. If the icon is not found, the tool returns an error telling you to call search_icons. Without a valid key, a PRO icon returns an error with upgrade information.
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_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact icon name as returned by search_icons | |
| license_key | No | Required only for PRO icons. Usually set once in the connector URL instead. |