get_file_diff
Retrieve the diff for a specific file in a Gerrit change to review code modifications directly and streamline the review process.
Instructions
Retrieves the diff for a single, specified file within a CL.
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>",
"file_path": "<file_path>"
},
"name": "get_file_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change_id | Yes | ||
| file_path | Yes | ||
| gerrit_base_url | No |