update_game
Ships a new build of a game the creator already published, as its next version: same link, same origin, scores and comments kept. Needs the creator's API key. Stage the new build exactly as for publish_game (zip, POST to https://yougame.co/api/agent/upload, fix what the report calls broken), then call this tool (or POST the same fields to https://yougame.co/api/agent/update) with the game's slug (from my_games or its URL), the new uploadId, the kind of update, and patch notes. kind "major" (2.0) is for a big change: everyone who saved or liked the game is notified with the notes, and the home feed features the game for a week. kind "minor" (1.1) is for fixes and small changes: listed in the version history, nobody is pinged. Default to minor unless the creator says the update is big.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | major (big change, players are notified) or minor (fixes, silent). Default minor. | |
| slug | Yes | The game's slug: the last part of its URL, https://yougame.co/g/<slug>. | |
| notes | No | Patch notes, up to 2000 characters: what changed, for players. Shown on the game page and, for a major update, in the notification. | |
| api_key | No | Only when the key could not be set as the Authorization header of the MCP connection: the creator's API key (yg_…). Prefer the header (or the YOUGAME_API_KEY environment variable): a key passed here ends up in the agent's transcript and tool logs. | |
| uploadId | Yes | The new build, from the upload reply (32 hex characters). | |
| thumbnail | No | Optional: a new thumbnail, as a path inside the new build (16:9 PNG/JPG/WebP/GIF under 8 MB). Omit to keep the current one. | |
| screenshots | No | Optional: new screenshots, as paths inside the new build. Omit to keep the current ones. |