Getprojectsprojectidbranchesbranchidfilesfileiddiff
getProjectsProjectIdBranchesBranchIdFilesFileIdDiffRetrieve the diff for a single file between two commits by providing the required base commit plus project, branch, and file ID.
Instructions
Gets the diff for a single file between two commits. The base query parameter is required (same as Diff Between Commits).
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>",
"branch-id": "<branch-id>",
"file-id": "<file-id>"
},
"name": "getProjectsProjectIdBranchesBranchIdFilesFileIdDiff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| file-id | Yes | ||
| branch-id | Yes | ||
| intraline | No | ||
| project-id | Yes | ||
| whitespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||