site_rollback
WriteReturn the game's own address to a build that was released before (releasedAt in site_status history), after a release went wrong.
/api/agent/site/rollbackBehavior
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
versionRequiredstring- 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 3,
"maxLength": 40
}
},
"required": [
"version"
],
"additionalProperties": false
}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.