check_build
Runs static file and source-reference checks, not the game. Runtime behavior is always not_run; detected SDK references do not prove menu, matchmaking, friends, or ranked behavior. Returns a verdict: ready, risky (warnings), or broken (the game will not start). Pass every file path in the folder (relative to the folder, forward slashes) and the text of index.html; also pass the text of .html/.css/.js files worth scanning (8 MB of text in total). Fix what it reports and run it again until the verdict is ready, then zip the folder's contents for upload at https://yougame.co/upload. For a native build folder (no index.html), pass platform desktop_app: it checks only static files, that there is a program the desktop app can run (Windows: an .exe or Unreal Shipping layout; macOS: a .app; Linux: .x86_64, .x64, .AppImage, .run, .sh, or an ELF file, passing its first bytes) and, when yougame-native.json is beside it (pass its text), that the app accepts it, warning when it has no net (runs offline) or no memoryMb (the limit drops from 8 GB to 4 GB). The game is not run; no index.html is needed.
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": {
"files": "<files>"
},
"name": "check_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Listing kind, when known (game, patch or mod). Patch/mod placeholders do not fail the web-stub check. | |
| files | Yes | Every file in the build folder. | |
| platform | No | Optional listing context. web: plays in the browser. desktop_app: a native build folder without index.html is checked as the native build (program file and yougame-native.json, static only, nothing run); upload it with upload-native.mjs. Forces mobile false. Never ship a web page telling players to download the app. | |
| base_game | No | Optional base-game listing context. | |
| baseRuntime | No | The listing's base_game.runtime, when set; uses the YG Dolphin/base-game flow. |