Upload a version
goof_upload_versionUploads game files as a new version after validation and returns a 2-hour test link; invalid uploads are refused with errors.
Instructions
Checks the game files, uploads them as a new version of a game and returns a test link (valid 2 hours, opens on any phone). Nothing goes public: a version is only played by others after goof_submit_for_review and a human review. If the checks find errors the upload is refused and the errors are returned.
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_id": "<game_id>"
},
"name": "goof_upload_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | The whole game as one HTML page (everything inlined). Use this for a single-file game. | |
| path | No | A path on this computer: an .html file, a .zip, or the game folder (it must hold index.html). Preferred when the game is on disk. | |
| files | No | The game as several files. One entry must be index.html at the top. Give text files as "text", binary files (images, sounds, models) as "base64". | |
| notes | No | What changed in this version, for the reviewer. Up to 500 characters. | |
| game_id | Yes | The game id (d + 14 hex characters), from goof_create_game or goof_list_games. |