MCP tools

emfirge_rollback_branch

Remove the most recent modeled change from an isolated branch without changing AWS.

Parameters

branch_id: string · required

MCP ask / arguments
{ "branch_id": "branch_456" }

Returns

The response is JSON shaped for the operation. The fields and semantics are described below.

JSON response
{ "branch_id": "branch_456", "name": "restrict-public-access", "status": "open", "base_analysis_id": "analysis_123", "num_changes": 0 }

Validation, behavior, and limits

Each call removes the most recent modeled change. Repeated calls can return the branch to its base state; with no changes rollback is a safe no-op.

The branch remains open, its base analysis is unchanged, and rollback only changes isolated branch history; it never reverts or writes anything in AWS.

Based on the Emfirge MCP and engine source.View source
Documentation