rollback_change
Undo a previously merged commit by creating a new forward commit that restores the prior state, without rewriting history.
Instructions
Roll back a previously merged commit on the project's default branch by creating a new forward commit that restores the prior state (never rewrites history).
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": {
"project_id": "<project_id>",
"commit_sha": "<commit_sha>"
},
"name": "rollback_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rationale | No | ||
| commit_sha | Yes | ||
| project_id | Yes |