impact_of
Trace every symbol that can reach a named definition through call hops, nearest first by shortest distance, to gauge how far a code change may propagate.
Instructions
What could break if I change this? Lists every symbol that reaches the definitions matching name through calls in at most depth hops, once each at its shortest distance (hops), nearest first, with the repository, path and line range. Use it to gauge the reach of a change; for just the direct call sites and their lines, use find_callers. At most 200 rows; truncated is true when more exist. Next step: get_symbol on the nearest symbols to see how they use it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A bare name (url_for), which matches url_for and every Class.url_for, or a qualified name (Flask.url_for), which matches only that definition. Case-sensitive. | |
| repo | No | Look only in this registered repository, for example flask. list_repositories gives the valid names. Default: all repositories. | |
| depth | No | How many call hops to follow, 1 to 5. Default 3. 1 gives only the direct callers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| status | Yes | ||
| results | Yes | ||
| truncated | No |