get_gerrit_cl_diff
Retrieve code modifications from Chromium Gerrit change lists to analyze what specific files and lines were altered in a patchset.
Instructions
Get the diff/changes for a Chromium Gerrit CL patchset to understand what code was modified
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": {
"cl_number": "<cl_number>"
},
"name": "get_gerrit_cl_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cl_number | Yes | CL number or full Gerrit URL (e.g., '6624568' or 'https://chromium-review.googlesource.com/c/chromium/src/+/6624568') | |
| patchset | No | Optional specific patchset number to get diff for (if not specified, gets diff for current patchset) | |
| file_path | No | Optional specific file path to get diff for (if not specified, gets diff for all files) |