rollback_feature
Abort a failed or unwanted feature, removing its worktree and branch while logging the reason. Use to abandon a feature without merging.
Instructions
Rolls back a failed or unwanted feature: aborts worktree, cleans up branch, records reason. Use this when you need to abandon a feature without merging.
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": {
"reason": "<reason>"
},
"name": "rollback_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Reason for the rollback (for logging and future reference) | |
| keep_branch | No | Keep the branch for debugging (default: delete) | |
| worktree_path | No | Path to the worktree to rollback |