Getchangeschangeidpurerevert
getChangesChangeIdPureRevertChecks whether a Gerrit change is a pure revert of its referenced change or a specified commit, so you can verify revert correctness before review.
Instructions
Check if the given change is a pure revert of the change it references in revertOf. Optionally, the query parameter o can be passed in to specify a commit (SHA-1 in 40 digit hex representation) to check against. It takes precedence over revertOf. If the change has no reference in revertOf, the parameter is mandatory.
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": {
"change-id": "<change-id>"
},
"name": "getChangesChangeIdPureRevert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change-id | Yes | ||
| claimed-original | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||