get_icon_svg
Retrieves raw SVG markup from an icon URL in search results or detail so you can embed it in HTML, save it to a file, or use it in components.
Instructions
Fetch the raw SVG content of an icon.
Pass an SVG URL from search results or icon detail. Returns the SVG markup that can be used directly in HTML, saved to a file, or embedded in components.
Accepts both relative URLs (/icons/...) and full URLs. Internally routes through /api/download/... so each retrieval is recorded as a download in the icons.pureadmin.io usage stats.
For the full search → detail → svg workflow, call get_usage_guide first.
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": {
"url": "<url>"
},
"name": "get_icon_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | SVG URL from search results (e.g., /icons/heroicons/outline/arrow-right-24.svg) |