rollback_patch
Restores original bytes to roll back a patch. Delegates the byte-restore step to re-patch.restore_original.
Instructions
Delegate to re-patch.restore_original for the byte-restore step.
re-dotnet-patch does not duplicate the byte-level restore primitive;
this stub returns status: delegate with a remediation hint
pointing at re-patch.restore_original.
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": {
"original": "<original>",
"restore_target": "<restore_target>"
},
"name": "rollback_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| original | Yes | ||
| restore_target | Yes | ||
| expected_sha256 | No | ||
| confirm_legal | No |