predict_refactor_risk
Analyze repository trends and metrics to predict which files require refactoring, using a configurable risk threshold.
Instructions
Predict which files are at risk of needing refactoring based on trends and metrics
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": {
"repositoryPath": "<repositoryPath>"
},
"name": "predict_refactor_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| riskThreshold | No | Minimum risk score to include in results (0-100) | |
| repositoryPath | Yes | Path to the repository root directory |