git_revert
Undo specified Git commits by creating inverse commits in a local repository. Use noCommit to apply changes without committing, or set cwd to target another repo.
Instructions
Revert existing commits.
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": {
"revs": "<revs>"
},
"name": "git_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional local working directory or repository path. | |
| revs | Yes | Commit revisions to revert. | |
| noCommit | No | Apply revert without committing. |