close_branch
Needs sign-in (connect this server with OAuth, or pass an API key as the Authorization: Bearer header). Ends a test build (branch) of an alpha game. On owner-governed games (owner or maintainers mode), the owner or an approver puts an open, playable test build in from the game page, including during testing. Community-governed games merge by vote. This tool also withdraws test builds: a builder may withdraw their own (outcome "closed"), which frees its slot for another open test build. The game's creator may also turn one down ("rejected") or withdraw it, and outcome "merged" records that a build they shipped with update_game folds it in (ship:true releases the branch's own build only when it is the creator's upload).
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": {
"slug": "<slug>",
"branch": "<branch>",
"outcome": "<outcome>"
},
"name": "close_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | With ship: major or minor (default). | |
| note | No | Up to 500 characters, shown to players: how it ended and why. | |
| ship | No | With outcome merged: release the winning build itself as the next version (minor unless kind is major). | |
| slug | Yes | ||
| branch | Yes | The branch id from alpha_board or open_branch. | |
| winner | No | For a merged choice: the key of the build that won. | |
| outcome | Yes |