add_layer_to_icon
Add image layers to .icon bundles with control over scale, opacity, positioning, and blend modes to build complex iOS app icons programmatically.
Instructions
Add a new layer to an existing .icon bundle. Creates a new group or adds to an existing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle_path | Yes | Path to existing .icon bundle | |
| image_path | Yes | Path to image file to add as layer | |
| layer_name | Yes | Name for the layer | |
| group_index | No | Group index to add to (0-based, default 0) | |
| create_group | No | Create a new group for this layer | |
| opacity | No | Layer opacity | |
| scale | No | Layer scale | |
| offset_x | No | X offset in points | |
| offset_y | No | Y offset in points | |
| blend_mode | No | Blend mode | normal |
| glass | No | Participate in Liquid Glass effects |