Getprojectsprojectidcommitscommitidfilesfileidcontent
getProjectsProjectIdCommitsCommitIdFilesFileIdContentRetrieves the content of a file from a specific commit in a Gerrit project using project, commit, and file identifiers.
Instructions
Gets the content of a file from a certain commit.
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": {
"project-id": "<project-id>",
"commit-id": "<commit-id>",
"file-id": "<file-id>"
},
"name": "getProjectsProjectIdCommitsCommitIdFilesFileIdContent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file-id | Yes | ||
| commit-id | Yes | ||
| project-id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |