generate_expo_icons
Generate all required Expo assets (icon, adaptive, splash, favicon, react-logo, partial) from a single source image. Saves manual resizing and formatting.
Instructions
Generates all 10 Expo assets into assets/images/: icon, android adaptive (foreground/background/monochrome), splash, favicon, react-logo (@1x/@2x/@3x) and partial.
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": {
"input_image": "<input_image>",
"output_dir": "<output_dir>"
},
"name": "generate_expo_icons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | Overwrite existing files (default: true) | |
| output_dir | Yes | Absolute path to the Expo project's assets/images/ folder | |
| input_image | Yes | Absolute path to the source image (transparent PNG recommended, minimum 1024×1024) | |
| proportions | No | Content proportion per asset (0.1–1.0). Controls how much of the canvas the content fills. | |
| background_color | No | Background color in hex (e.g. #E6F4FE). Omit for transparent background. |