cg_build_check
Validate a built HTML5 game or release zip against CrazyGames portal rules: checks size, file count, root index.html, absolute paths, foreign hosts, zip slashes, and SDK version without a browser.
Instructions
Static portal checks of a built game or its zip: size, file count, index.html at root, absolute paths, resources from foreign hosts, zip slashes, SDK version. No browser, milliseconds.
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": {
"path": "<path>"
},
"name": "cg_build_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Game root, its build folder (dist, build/web) or the release zip |