editor_export
Exports a Construct 2 project to a selected platform through the editor's Export wizard, applying minify and per-page options so automated builds can be completed.
Instructions
Export through File > Export project. platform: HTML5 website, NW.js, Cordova, ... (first wizard page). minify needs Java. options answers later pages by control caption, e.g. {"Embed style": true}. The result lists every page's controls, so an unexpected page can be answered by calling again with options.
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": {
"folder": "<folder>"
},
"name": "editor_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| folder | Yes | ||
| minify | No | ||
| options | No | ||
| project | No | ||
| platform | No | HTML5 website |