Rank fixes by score gain
rank_fixesThe rules whose findings cost the project the most points. Each entry says how many points the overall score and its category would gain if every finding of that rule were fixed (the report rescored without them), with one example finding.
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": "<project>"
},
"name": "rank_fixes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many rules to return | |
| runId | No | A specific run's id; leave out for the latest successful analysis | |
| project | Yes | The project: its id from list_projects, or "owner/repo", or "owner/repo@branch" when the repository has several branches as projects |