Plan and execute safe refactoring using dependency analysis
Use the knowledge graph to plan and execute refactoring with confidence.
refactor_tool with mode="suggest" for community-driven refactoring suggestions.refactor_tool with mode="dead_code" to find unreferenced code.refactor_tool with mode="rename" to preview all affected locations.apply_refactor_tool with the refactor_id to apply renames.detect_changes to verify the refactoring impact.get_impact_radius before major refactors.get_affected_flows to ensure no critical paths are broken.find_large_functions to identify decomposition targets.get_minimal_context(task="<your task>") before any other graph tool.detail_level="minimal" on all calls. Only escalate to "standard" when minimal is insufficient.