Getchangeschangeidrevisionsrevisionidfilesfileidcontent
getChangesChangeIdRevisionsRevisionIdFilesFileIdContentRetrieves the content of a specific file at a given change revision in Gerrit for review or inspection.
Instructions
Gets the content of a file from a certain revision.
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>",
"file-id": "<file-id>"
},
"name": "getChangesChangeIdRevisionsRevisionIdFilesFileIdContent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | No | ||
| file-id | Yes | ||
| change-id | Yes | ||
| revision-id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |