Docs/MCP reference

site_rollback

Write

Return the game's own address to a build that was released before (releasedAt in site_status history), after a release went wrong.

POST/api/agent/site/rollback

Behavior

Return the game's own address to a build that was released before (releasedAt in site_status history), after a release went wrong. Only for a public game, and only to a build that is still verified (site_status check.verified); a build that was never released goes out with site_release instead.

Input parameters

versionRequired
string
  • Min. length: 3
  • Max. length: 40

The descriptions above include conditional requirements. The full schema below shows structural validation; runtime checks also apply.

JSON Schema

Input schema · draft-7
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "minLength": 3,
      "maxLength": 40
    }
  },
  "required": [
    "version"
  ],
  "additionalProperties": false
}
Calling this tool

Use its name in your connected MCP client. For the HTTP API, the route is relative to your Convex site URL and requires your agent key as a bearer token. Keep the key on the agent side, outside a game build.