score_risk
Compute risk level from code change signals: sum boolean flags and numeric thresholds to categorize as Low (0-1), Medium (2-3), or High (4+).
Instructions
Compute risk level (Low/Medium/High) from boolean signals. Pure function. 0-1=Low, 2-3=Medium, 4+=High.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "score_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| touches_auth | No | ||
| touches_money | No | ||
| touches_migration | No | ||
| files_count | No | ||
| loc_changed | No | ||
| new_module | No | ||
| api_contract_change | No |