CodeRefactorAi
6 tools in this family (folder Editor/Tools/CodeRefactorAi/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.
| Tool | Effect | Description |
|---|---|---|
refactor_apply | destructive | Execute a RefactorPlan IN PLACE: rewrites source files, calls AssetDatabase.MoveAsset for |
refactor_dry_run | writes | Execute a RefactorPlan in dry-run mode: produces unified diffs under |
refactor_propose_plan | read-only | Ask the active chat provider to draft a RefactorPlan from a free-text goal |
refactor_remove_unused_usings | writes | Scan .cs files (project-wide by default, or one file via file_path) and remove |
refactor_rename_symbol | writes | Convenience: rename a symbol (class / method / field / variable) project-wide using |
refactor_validate_plan | read-only | Validate a RefactorPlan: checks every operation has the right kind+fields, |