get_blast_radius
Maps what breaks when you change a function, file, or module, returning risk, callers, endpoints, cron jobs, and DB operations before refactoring.
Instructions
What breaks if you change a function, file or module.
CALL THIS WHEN: • You're about to change a signature, refactor or delete code • You need callers or detected endpoints a change reaches
RETURNS: Risk, production callers by module/file, endpoints, cron jobs and DB operations. Hops are the shortest detected path within the requested depth (1–5). Test-file callers are excluded.
USE INSTEAD OF: following callers by hand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name — one of your connected repos. | |
| depth | No | How many hops to trace (default: 3, range: 1–5) | |
| entity | Yes | Function name, file path, or module name | |
| entity_type | Yes | Type of entity |