Adapt Image For Cocos
asset_forge_adapt_imageConvert an existing image into a transparent PNG ready for Cocos Creator assets.
Instructions
Convert an existing image into a Cocos-ready transparent PNG.
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": {
"name": "<name>",
"inputPath": "<inputPath>"
},
"name": "asset_forge_adapt_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable asset name. Used for file names after slugification. | |
| inputPath | Yes | ||
| outputDir | No | Directory where generated files should be written. Defaults to server config. | |
| postprocess | No |