Getchangeschangeidrevisionsrevisionidfilesfileiddownload
getChangesChangeIdRevisionsRevisionIdFilesFileIdDownloadDownload a file's content from a specific Gerrit revision in a safe, non-executable format to inspect untrusted code without risk of execution.
Instructions
Downloads the content of a file from a certain revision, in a safe format that poses no risk for inadvertent execution of untrusted code.
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": "getChangesChangeIdRevisionsRevisionIdFilesFileIdDownload"
}
}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 |