Getchangeschangeidrevisionsrevisionidpatch
getChangesChangeIdRevisionsRevisionIdPatchRetrieve the formatted patch for a specific Gerrit change revision; returns base64-encoded content unless raw output is requested.
Instructions
Returns the formatted patch of a revision (base64-encoded unless the raw content type is requested).
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>",
"revision-id": "<revision-id>"
},
"name": "getChangesChangeIdRevisionsRevisionIdPatch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| zip | No | ||
| path | No | ||
| parent | No | ||
| context | No | ||
| download | No | ||
| change-id | Yes | ||
| revision-id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |