get_impact
Analyze transitive dependents of a code entity to find what breaks or needs updating before renaming, deleting, or changing its signature, plus knowledge references.
Instructions
Transitive dependents of an entity — what breaks or needs updating when it changes (incoming calls/imports/extends up to max_depth hops), plus knowledge that references it. Use before renaming, deleting, or changing a signature.
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": {
"repo": "<repo>",
"entity_id": "<entity_id>"
},
"name": "get_impact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Absolute path to the project root containing `.cogz/`. | |
| limit | No | ||
| entity_id | Yes | Entity ID to analyze. | |
| max_depth | No | Max dependency hops to traverse (default 2, capped at 4). |