create_icon
Create a ready-to-use Apple .icon bundle for Xcode from a foreground image and background color, with support for Liquid Glass effects and dark mode.
Instructions
Create an Apple Icon Composer .icon bundle from a foreground image and background color. Outputs a ready-to-use .icon bundle for Xcode 26.
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": {
"foreground_path": "<foreground_path>",
"output_dir": "<output_dir>",
"bg_color": "<bg_color>"
},
"name": "create_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg_color | Yes | Background color as hex (e.g. #0A66C2) | |
| specular | No | Enable specular highlights (Liquid Glass) | |
| output_dir | Yes | Directory to write the .icon bundle to | |
| bundle_name | No | Name for the .icon bundle (without extension) | AppIcon |
| glyph_scale | No | Scale of foreground glyph (0.1-2.0, default 1.0 fills ~65% of icon area in Icon Composer) | |
| shadow_kind | No | Shadow type | layer-color |
| split_layers | No | Split multi-shape SVGs into separate glass layers (each shape gets independent glass effects) | |
| blur_material | No | Liquid Glass blur amount (0-1, omit to disable) | |
| dark_bg_color | No | Dark mode background color as hex | |
| shadow_opacity | No | Shadow opacity | |
| foreground_path | Yes | Absolute path to foreground image (PNG or SVG) | |
| translucency_value | No | Translucency amount (0-1) | |
| translucency_enabled | No | Enable translucency gradient |