File Operations
file_operationsRename or move TypeScript files while automatically updating all imports across the codebase, including dynamic imports, mocks, and re-exports. Avoid broken imports that occur with manual edit or bash.
Instructions
Rename/move TypeScript files - auto-updates ALL imports (<1s, 47 refs across 12 files).
vs Edit/Bash: They break imports. This catches dynamic imports, mocks, re-exports.
Use when: Renaming/moving TS/JS files. Always use this, not mv/Edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| sourcePath | No | ||
| name | No | ||
| destinationPath | No | ||
| files | No | ||
| targetFolder | No | ||
| preview | No |