code_impact
Analyze which functions and types call or inherit a changed symbol, up to a chosen depth, and list affected files and tests to assess refactor risk.
Instructions
What a change to a symbol could affect: the functions and types that call or inherit it, directly or through others, up to depth hops, with the files that hold them and which of those are tests. For a type, what uses its members counts too. Only links the code index resolved are followed; a call it could not resolve is missed, so check code_references for the full list of mentions.
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": {
"containerId": "<containerId>",
"symbol": "<symbol>"
},
"name": "code_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Hops to follow (1-3). Default 2 | |
| limit | No | At most this many symbols and files (1-200). Default 30 | |
| symbol | Yes | The symbol, e.g. "Ledger.Post" | |
| containerId | Yes | Container or source ID or name |