Skip to main content
Glama

iconfont_download_icon

Download SVG icons from Iconfont by specifying an icon ID. Retrieve SVG content and optionally save files to a directory with custom filenames.

Instructions

Download SVG data for a specific icon from Iconfont.

This tool retrieves the SVG content for an icon and optionally saves it to a file. The icon_id can be obtained from the search results.

Args:

  • icon_id (string, required): The icon ID to download (from search results)

  • output_path (string, optional): Directory path to save the SVG file

  • filename (string, optional): Filename for the downloaded SVG (without extension)

Returns: For JSON format: { icon_id: string, name: string, svg: string, saved_to: string | null } For markdown: Confirmation message with file path if saved

Examples:

  • Use when: "Download the home icon" -> icon_id from search results

  • Use when: "Save to specific folder" -> output_path="./src/icons"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
icon_idYesThe icon ID to download (from search results)
output_pathNoDirectory path to save the SVG file (defaults to current directory)
filenameNoFilename for the downloaded SVG (without extension)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GuoChen-thlg/iconfont-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server