analyze_change_set
Compares committed changed files on the current branch with their merge base to check quality-gate impact before opening or merging a pull request.
Instructions
Compare every changed file on the current branch with its merge base.
When to use: before opening or merging a pull request.
Limitations: compares committed HEAD content only; uncommitted edits are
ignored. The merge base's root rules file is used for both sides.
Returns: {quality_gate, merge_base, counts, rules_changed?, files:[{path, verdict, ...}],
cross_file_duplication?, analyzers?}.
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": {
"repository_path": "<repository_path>"
},
"name": "analyze_change_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_ref | No | main | |
| repository_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||