sc_revert
Revert file changes in source control to discard unwanted modifications. Specify one or more paths to restore files to their last committed state.
Instructions
Revert file(s) in source control.
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": {
"paths": "<paths>"
},
"name": "sc_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | File paths to revert |