Get icons drawn for the site
get_iconsIcon Room icons drawn for the product: the stroke weight from the direction's world and borders, the size from its type scale, the accent and quiet parts from its colour tokens (the main stroke is currentColor). Returns ONE React file with a typed, tree-shakeable named export per icon, or SVG strings. Costs like the Icon Room: 1 coin an icon, 10 for the whole archive (taken instead when that is no dearer), free on Max; anything taken stays open 30 days. preview: true shows the look and the price without spending.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_icons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Every icon in the archive (10 coins once, free on Max). | |
| dir | No | Project-relative folder for the file (default "components"). | |
| size | No | Pixel size, or "ui" (default, the type scale step nearest 24) or "feature" (nearest 48). | |
| icons | No | Icon names from browse_rooms (room "icon-room"), for example ["bell", "search", "cart"]. | |
| format | No | "react" (default): one TSX file. "svg": one standalone SVG per icon, colours resolved to the tokens. | |
| stroke | No | Override the stroke width on the 24 grid. | |
| preview | No | Only show the look, the usage and the price. Spends nothing. | |
| direction_id | No | The direction_id (from set_direction or create_direction). Items are drawn in its stroke weight, sizes and colours. |