Get icon PNG link
get_icon_png_urlGet a PNG URL for an icon by its ID - use when SVG is not available. NOTE: SVG format is preferred for Icons8 icons when possible (use get_icon_svg).
An animated icon's PNG is a still frame. Use get_icon_animation for the motion.
Args: icon_id: The id from a search_icons result (field icons[].id) ctx: MCP context for API access size: The preview image size in pixels (default: 24)
Returns: Dictionary containing the PNG preview URL
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": {
"icon_id": "<icon_id>"
},
"name": "get_icon_png_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| icon_id | Yes | Icon id from the results of search_icons (field icons[].id) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Permanent PNG link of the icon at the asked size. |