check_merge_safety
Analyzes two Git branches for semantic conflicts like signature changes, removed exports, and parameter mismatches that Git would miss, returning a risk score of safe, warning, or danger.
Instructions
Quick pre-merge safety check. Analyzes two branches for semantic conflicts that Git would miss (signature changes, removed exports, parameter mismatches, etc.). Returns a risk score: safe/warning/danger.
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>",
"sourceBranch": "<sourceBranch>",
"targetBranch": "<targetBranch>"
},
"name": "check_merge_safety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | Yes | Absolute path to the Git repository | |
| sourceBranch | Yes | The branch being merged (source) | |
| targetBranch | Yes | The branch being merged into (target) |