Forecast a code change
forecast_changeEstimate the blast radius of proposed repository-relative file changes by tracing reverse dependencies, revealing which modules and tests a pull request may affect before you edit.
Instructions
Estimate the blast radius of proposed repository-relative file changes.
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": {
"changed_files": "<changed_files>"
},
"name": "forecast_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Maximum reverse-dependency traversal depth. | |
| repository | No | Repository directory, relative to the server's allowed root. Absolute paths are accepted only when they remain inside that root. | . |
| changed_files | Yes | Repository-relative files that are expected to change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | Yes | ||
| repository | Yes | ||
| risk_level | Yes | ||
| graph_edges | Yes | ||
| graph_files | Yes | ||
| risk_reasons | Yes | ||
| changed_files | Yes | ||
| impacted_files | Yes | ||
| suggested_tests | Yes | ||
| documentation_to_review | Yes |