move
Renames or relocates files and directories, automatically detecting file or folder type for project reorganization.
Instructions
[RECOMMENDED - PRIMARY MOVE/RENAME TOOL] MOVE or RENAME files and directories. MAIN move/rename tool - use for ALL move and rename operations. Automatically detects file/directory type and handles appropriately. Keywords: move, rename, mv, relocate. / [推荐 - 主要移动/重命名工具] 移动或重命名文件和目录。这是主要的移动/重命名工具 - 用于所有移动和重命名操作。自动检测文件/目录类型。关键词:移动、重命名、重定位。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The source path of the file or directory to move or rename. Can be a file or directory. Examples: 'old_name.txt' (file to rename), 'src/old_module/' (directory to move), 'temp.log' (file to relocate). | |
| destination | Yes | The destination path where the file or directory will be moved to. This can be a new name in the same directory (rename) or a different location (move). Examples: 'new_name.txt' (rename file), 'src/new_module/' (move directory), 'logs/app.log' (move and rename file). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |