Start a build upload
start_uploadCreates a new version of a game and returns shell commands that zip the build folder (index.html at its root) and upload it straight to Gamealia with curl, using a 1-hour upload token for this version only. The commands run in a shell; complete_upload finishes the upload. No file bytes go through MCP. Clients without a shell can upload from the dashboard link in get_game instead. Web games only: mobile listings have no build.
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": {
"game": "<game>"
},
"name": "start_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | The game's slug or id (list_games shows them) | |
| notes | No | Release notes: a short changelog of this version, in plain words for players. Required (at least 10 characters) to submit an update to a game that is already live | |
| buildDir | No | The build folder to zip (default: the current folder); it must contain index.html at its root |