Get icon code
get_iconThe source of one icon, ready to save into the project: a React or Vue component, JS/TS data, JSON, or a plain SVG of one variant. Paid icons need the licence key the server was configured with.
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": {
"id": "<id>"
},
"name": "get_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Icon id from search_icons, e.g. "bell" | |
| format | No | react | |
| variants | No | Variants to include (default all four; for svg, the first) |