analyze_file_pair
Perform deep-dive semantic diff of a single file between two Git branches to identify exact changes and potential merge conflicts.
Instructions
Deep-dive semantic diff of a single file between two branches. Shows exactly what each branch changed and where conflicts arise.
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": {
"repoPath": "<repoPath>",
"filePath": "<filePath>",
"branchA": "<branchA>",
"branchB": "<branchB>"
},
"name": "analyze_file_pair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute path to the Git repository | |
| filePath | Yes | Path to the file within the repository | |
| branchA | Yes | First branch | |
| branchB | Yes | Second branch |