Getchangeschangeidrevisionsrevisionidfilesfileiddiff
getChangesChangeIdRevisionsRevisionIdFilesFileIdDiffRetrieve the diff for a specific file at a given change revision to review code changes, with options for context, whitespace, and intraline comparison.
Instructions
Gets the diff 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": "getChangesChangeIdRevisionsRevisionIdFilesFileIdDiff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| parent | No | ||
| context | No | ||
| file-id | Yes | ||
| change-id | Yes | ||
| intraline | No | ||
| whitespace | No | ||
| revision-id | Yes | ||
| ignore-whitespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||