prepare_icon
Create a square 1254×1254 PNG icon with optional solid background or edge-background replacement, saving to a new output path.
Instructions
Create a square 1254 PNG; output must not exist. Optional #RRGGBB background flattens transparency. replace_edge_background replaces the top-left connected background with tolerance 24. Does not edit a profile.
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": {
"image_path": "<image_path>",
"output_path": "<output_path>"
},
"name": "prepare_icon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image_path | Yes | ||
| output_path | Yes | ||
| background_color | No | ||
| replace_edge_background | No |