resize_icons
Resize icon images to all required sizes for iOS and Android platforms, including automatic generation of Xcode-compatible Contents.json.
Instructions
Resize an icon image to all required sizes for iOS and/or Android platforms. Generates Xcode-compatible Contents.json for iOS. Source image should be at least 1024x1024.
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": {
"sourcePath": "<sourcePath>",
"outputDir": "<outputDir>"
},
"name": "resize_icons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePath | Yes | Path to the source icon image (square, at least 1024x1024 recommended) | |
| outputDir | Yes | Output directory for resized icons | |
| platforms | No | Target platforms (default: both ios and android) |