Get / materialize icon
get_iconCreate an immutable icon asset from a confirmed icon ID, returning canonical SVG, asset ID, and content hash. Requires an idempotency key to prevent duplicate creation.
Instructions
Materialize an immutable TemplateIconAsset via Gateway from a confirmed iconId. Call after confirming a candidate from search_icons. Requires idempotencyKey to prevent duplicate creation. Idempotent: repeated calls with identical keys return the existing asset without consuming extra quota. Returns canonical SVG string, iconAssetId, and contentHash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iconId | Yes | Canonical icon identifier confirmed from search_icons (e.g. lucide:arrow-right). | |
| idempotencyKey | Yes | Unique idempotency key to prevent duplicate icon asset creation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contentHash | No | SHA-256 hash of the SVG content. | |
| iconAssetId | No | Permanent immutable icon asset ID. | |
| canonicalSvg | No | Optimized sanitized SVG code. |